all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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 --
     [not found] <mailman.454.1441294624.19560.help-gnu-emacs@gnu.org>
2015-09-03 15:45 ` eshell alias not working properly Joost Kremers
2015-09-03 15:28 Sum Proxy

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.