help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EShell Alias for a 'cd' followed by 'ls'


From: Jean Louis
Subject: Re: EShell Alias for a 'cd' followed by 'ls'
Date: Thu, 19 Nov 2020 09:39:32 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Dan Hitt <dan.hitt@gmail.com> [2020-11-19 09:04]:
> Well, what is your init file?
> 
> If your init file is in ~/.emacs.d/init.el, it looks like the act of typing
>     alias cl 'cd $* ; ls'
> to the eshell prompt will write the filesystem itself, and create or modify
> the file ~/.emacs.d/eshell/alias
> 
> So that might be bad or that might be good, but it's a permanent change
> (unless you edit the alias file): you need only type the characters once
> and then forever after the alias is available (unless you explicitly erase
> it).

It is possible to undefine alias by duing

$ alias ALIAS

and alias will be not be there any more.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]