unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* eshell alias not working properly
@ 2015-09-03 15:28 Sum Proxy
  0 siblings, 0 replies; 2+ messages in thread
From: Sum Proxy @ 2015-09-03 15:28 UTC (permalink / raw)
  To: help-gnu-emacs

Hi

I seem to be having problems with my eshell aliases,
e.g. the following alias in the aliases file doesn't work in eshell 2.4.2, emacs 24.4.1 
============ 
alias ff 'find-file $1' 
============ 
error message as is is given below 
> find-file $1: command not found 

Any ideas what may be going wrong?
Thanks in advance.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: eshell alias not working properly
       [not found] <mailman.454.1441294624.19560.help-gnu-emacs@gnu.org>
@ 2015-09-03 15:45 ` Joost Kremers
  0 siblings, 0 replies; 2+ messages in thread
From: Joost Kremers @ 2015-09-03 15:45 UTC (permalink / raw)
  To: help-gnu-emacs

Sum Proxy wrote:
> Hi
>
> I seem to be having problems with my eshell aliases,
> e.g. the following alias in the aliases file doesn't work in eshell 2.4.2, emacs 24.4.1 
>============ 
> alias ff 'find-file $1' 
>============ 
> error message as is is given below 
>> find-file $1: command not found 
>
> Any ideas what may be going wrong?

Don't use quotes:

alias ff find-file $1

Otherwise eshell thinks that «find-file $1» is the command.



-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-03 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03 15:28 eshell alias not working properly Sum Proxy
     [not found] <mailman.454.1441294624.19560.help-gnu-emacs@gnu.org>
2015-09-03 15:45 ` Joost Kremers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).