mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
24 lines
248 B
Plaintext
24 lines
248 B
Plaintext
%prep
|
|
alias foo=echo
|
|
|
|
alias -g bar=echo
|
|
|
|
alias '\bar=echo'
|
|
|
|
%test
|
|
foo foo
|
|
0:Basic aliasing
|
|
>foo
|
|
|
|
bar bar
|
|
0:Global aliasing
|
|
>echo
|
|
|
|
\foo foo
|
|
127:Not aliasing
|
|
?(eval):1: command not found: foo
|
|
|
|
\bar \bar
|
|
0:Aliasing with a backslash
|
|
>bar
|