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 is going wrong?
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 is going wrong?
You shouldn't quote name of command together with its argument. As written,
the code creates an alias for command named find-file $1
which doesn't
exist, of course.
You need to remove the quotes:
alias ff find-file $1