Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: What does alias -L do?
- X-seq: zsh-users 6834
- From: Jean Chalard <jean.chalard@xxxxxxxx>
- To: zzapper <david@xxxxxxxxxx>
- Subject: Re: What does alias -L do?
- Date: Thu, 4 Dec 2003 15:17:23 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <cofusvohecv7als7fbpph6sk39btlunrds@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <cofusvohecv7als7fbpph6sk39btlunrds@xxxxxxx>
> Hi,
> (Sorry if you see this posting twice)
>
> What does alias -L do?; the doc is either silent on this or obscure
As far as I understand the info file, I think it just prints what you
have to do in a startup script to bind the alias (or every alias in
the current shell, if no argument is given) the same way it is in the
current shell.
For example :
$ alias foo=bar
$ alias foo
foo=bar
$ alias -L foo
alias foo=bar
$ alias -g foo=bar
$ alias \foo
foo=bar
$ alias -L \foo
alias -g foo=bar
$
See ? It prints what you should put in, say, .zshrc to have the
current behaviour of this alias.
--
J
Messages sorted by:
Reverse Date,
Date,
Thread,
Author