mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-19 23:21:25 +02:00
moved from ./Test/02alias.ztst
This commit is contained in:
parent
cbb62d4a3e
commit
f7da8d5efb
1 changed files with 23 additions and 0 deletions
23
Test/A02alias.ztst
Normal file
23
Test/A02alias.ztst
Normal file
|
@ -0,0 +1,23 @@
|
|||
%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
|
||||
1:Not aliasing
|
||||
?ZTST_execchunk:2: command not found: foo
|
||||
|
||||
\bar \bar
|
||||
0:Aliasing with a backslash
|
||||
>bar
|
Loading…
Reference in a new issue