From: furue@hawaii.edu
To: help-gnu-emacs@gnu.org
Subject: Re: eshell: how to alias cp 'cp -i' ?
Date: Wed, 05 Sep 2007 16:45:37 -0700 [thread overview]
Message-ID: <1189035937.564847.293110@50g2000hsm.googlegroups.com> (raw)
In-Reply-To: <87y7fksxoi.fsf@utanet.at>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 884 bytes --]
On Sep 5, 9:46 am, Stefan Reichör <ste...@xsteve.at> wrote:
> David Hansen <david.han...@gmx.net> writes:
> > On Tue, 04 Sep 2007 12:18:52 -0700 fu...@hawaii.edu wrote:
[ . . . ]
> I tried the following:
> alias tcp 'cp -i $*'
>
> But this didn't work. That is probably an emacs bug.
Thank you, David and Stefan, for the responses.
I thought I posted a replay yesterday, but it doesn't appear
here. (Probably I hit the "Discard" button instead of the "Send".)
Anyway, my experience is the same. Alias to 'cp -i $*' doesn't
work for me, either. My tentative solution is
alias cp /bin/cp -i $*
which works. This is asthetically incorrect because it doesn't
use eshell's builtin cp.
I'm also wondering where I can find documentations of eshell.
I want/need to learn more, such as "for" loop and "if" constructs
and function definition.
Cheers,
Ryo
next prev parent reply other threads:[~2007-09-05 23:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-04 19:18 eshell: how to alias cp 'cp -i' ? furue
2007-09-05 0:36 ` David Hansen
[not found] ` <mailman.329.1188952757.18990.help-gnu-emacs@gnu.org>
2007-09-05 19:46 ` Stefan Reichör
2007-09-05 23:45 ` furue [this message]
2007-09-06 16:13 ` Edward O'Connor
[not found] ` <mailman.424.1189095248.18990.help-gnu-emacs@gnu.org>
2007-09-07 7:05 ` furue
2007-09-07 7:24 ` furue
2007-09-07 21:44 ` Peter Dyballa
[not found] ` <mailman.479.1189201469.18990.help-gnu-emacs@gnu.org>
2007-09-07 22:08 ` furue
2007-09-07 23:08 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1189035937.564847.293110@50g2000hsm.googlegroups.com \
--to=furue@hawaii.edu \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.