define alias on Eshell(Emacs Shell)
There are two ways.
One is using .eshell/alias.
alias ls "ls -la"
The other is writing in .emacs.
(add-to-list 'eshell-command-aliases-list (list "ls" "ls -la"))
You can get more information M-x info or see em-alias.el.
I'm main developer of

1 Comments:
That alias won't let you do things like "ls some-dir". Use this instead:
alias ls 'ls -la $1'
Post a Comment
Links to this post:
Create a Link
<< Home