* What does alias -L do?
@ 2003-12-04 14:06 zzapper
2003-12-04 14:17 ` Jean Chalard
2003-12-04 14:21 ` Christian Schneider
0 siblings, 2 replies; 3+ messages in thread
From: zzapper @ 2003-12-04 14:06 UTC (permalink / raw)
To: zsh-users
Hi,
(Sorry if you see this posting twice)
What does alias -L do?; the doc is either silent on this or obscure
zzapper
--
vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"
http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What does alias -L do?
2003-12-04 14:06 What does alias -L do? zzapper
@ 2003-12-04 14:17 ` Jean Chalard
2003-12-04 14:21 ` Christian Schneider
1 sibling, 0 replies; 3+ messages in thread
From: Jean Chalard @ 2003-12-04 14:17 UTC (permalink / raw)
To: zzapper; +Cc: zsh-users
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What does alias -L do?
2003-12-04 14:06 What does alias -L do? zzapper
2003-12-04 14:17 ` Jean Chalard
@ 2003-12-04 14:21 ` Christian Schneider
1 sibling, 0 replies; 3+ messages in thread
From: Christian Schneider @ 2003-12-04 14:21 UTC (permalink / raw)
To: zsh-users
* Thus spake zzapper (david@tvis.co.uk):
> What does alias -L do?; the doc is either silent on this or obscure
,----[ zshbuiltins(1) /alias ]
| If the -L flag is present, then print each alias in a manner suitable
| for putting in a startup script. The exit status is nonzero if a
| name (with no value) is given for which no alias has been defined.
`----
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-04 14:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-04 14:06 What does alias -L do? zzapper
2003-12-04 14:17 ` Jean Chalard
2003-12-04 14:21 ` Christian Schneider
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).