I try to use Eshell for all my shell work. I’m not 100% successful but I mostly am so Eshell is an important part of my workflow. One of the things that makes using Eshell easier is aliases, just as it is in, say, a Bash shell. The thing is, I can never remember how to get them set up.
That turns out to be pretty simple. Marcin Borkowski (mbork) has a short post that makes me wonder why I even had a problem with it. It’s as simple as set it and forget it. Once you set an alias, Emacs will remember it for you. There’s a slight syntax variation between the Eshell alias
command and the familiar Bash variant but once you’re aware of that, everything else is simple. Simpler, really, than in Bash where you have to set the aliases in a configuration file.
If you’re an Eshell user, be sure to take a look at mbork’s post. It really can make your life easier.