diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-13 19:06:59 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-13 19:06:59 +0000 |
commit | f83b8fe5fc71b6a717ec579a333035f12abae597 (patch) | |
tree | 30b9cd27b59910001ef0fa57d09c4b739a57f554 /Test/02alias.ztst | |
parent | 0964ce61859fdcf29c0d35f138e1fe8aa7b82133 (diff) | |
download | zsh-f83b8fe5fc71b6a717ec579a333035f12abae597.tar.gz zsh-f83b8fe5fc71b6a717ec579a333035f12abae597.tar.xz zsh-f83b8fe5fc71b6a717ec579a333035f12abae597.zip |
zsh-workers/9024
Diffstat (limited to 'Test/02alias.ztst')
-rw-r--r-- | Test/02alias.ztst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Test/02alias.ztst b/Test/02alias.ztst new file mode 100644 index 000000000..03c0a6cc1 --- /dev/null +++ b/Test/02alias.ztst @@ -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 |