mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
23 lines
308 B
Text
23 lines
308 B
Text
%prep
|
|
alias foo=echo
|
|
|
|
alias -g bar=echo
|
|
|
|
alias '\bar=echo'
|
|
|
|
%test
|
|
foo foo
|
|
0:Basic aliasing
|
|
>foo
|
|
|
|
bar bar
|
|
0:Global aliasing
|
|
>echo
|
|
|
|
\ThisCommandDefinitelyDoesNotExist foo
|
|
127:Not aliasing
|
|
?(eval):1: command not found: ThisCommandDefinitelyDoesNotExist
|
|
|
|
\bar \bar
|
|
0:Aliasing with a backslash
|
|
>bar
|