1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 00:41:44 +02:00
zsh/Test/A02alias.ztst

24 lines
256 B
Plaintext
Raw Normal View History

2001-04-02 14:30:15 +02:00
%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
2001-06-25 05:06:33 +02:00
127:Not aliasing
2001-04-02 14:30:15 +02:00
?ZTST_execchunk:2: command not found: foo
\bar \bar
0:Aliasing with a backslash
>bar