[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EShell Alias for a 'cd' followed by 'ls'
From: |
Christopher Dimech |
Subject: |
Re: EShell Alias for a 'cd' followed by 'ls' |
Date: |
Thu, 19 Nov 2020 08:10:14 +0100 |
The only caveat is that the aliases will go into an
official release and cannot require users to type them.
Have done some elisp functions for that.
---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy
> Sent: Thursday, November 19, 2020 at 7:39 AM
> From: "Jean Louis" <bugs@gnu.support>
> To: "Dan Hitt" <dan.hitt@gmail.com>
> Cc: "Christopher Dimech" <dimech@gmx.com>, "Help Gnu Emacs"
> <help-gnu-emacs@gnu.org>, "Stefan Kangas" <stefan@marxist.se>
> Subject: Re: EShell Alias for a 'cd' followed by 'ls'
>
> * 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.
>
- EShell Alias for a 'cd' followed by 'ls', Christopher Dimech, 2020/11/18
- Re: EShell Alias for a 'cd' followed by 'ls', Stefan Kangas, 2020/11/18
- Re: EShell Alias for a 'cd' followed by 'ls', Christopher Dimech, 2020/11/18
- Re: EShell Alias for a 'cd' followed by 'ls', Dan Hitt, 2020/11/18
- Re: EShell Alias for a 'cd' followed by 'ls', Dan Hitt, 2020/11/18
- Re: EShell Alias for a 'cd' followed by 'ls', Christopher Dimech, 2020/11/19
- Re: EShell Alias for a 'cd' followed by 'ls', Dan Hitt, 2020/11/19
- Re: EShell Alias for a 'cd' followed by 'ls', Jean Louis, 2020/11/19
- Re: EShell Alias for a 'cd' followed by 'ls',
Christopher Dimech <=
- Re: EShell Alias for a 'cd' followed by 'ls', Dan Hitt, 2020/11/19
- Re: EShell Alias for a 'cd' followed by 'ls', Christopher Dimech, 2020/11/19
- Re: EShell Alias for a 'cd' followed by 'ls', Michael Heerdegen, 2020/11/19
Re: EShell Alias for a 'cd' followed by 'ls', Jean Louis, 2020/11/18
Re: EShell Alias for a 'cd' followed by 'ls', Vladimir Sedach, 2020/11/19