In bash I commonly use an alias 'nth' (hint: it makes sense as a key-combo if you use Dvorak layout). When I type this in eshell, I see:
~ $ nth
usage: nth: (N LIST)
How can I get eshell ignore nth
as a lisp command?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityIn bash I commonly use an alias 'nth' (hint: it makes sense as a key-combo if you use Dvorak layout). When I type this in eshell, I see:
~ $ nth
usage: nth: (N LIST)
How can I get eshell ignore nth
as a lisp command?
You'll need to redefine the alias for eshell.
For instance if you alias nth
to echo hi
in bash then in eshell type alias nth echo hi
eshell will write your aliases to your eshell-alias-file
where they will persist.
nth
definition from eshell would not make the bash definition pop magically. So I guess your question is more about (automatically?) import bash aliases definition in eshell.