mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-15 13:34:18 +01:00
Missing test for alias fix
This commit is contained in:
parent
4bc554bb8b
commit
732eeae1b5
@ -42,3 +42,18 @@
|
|||||||
cat <(echo foo | cat)
|
cat <(echo foo | cat)
|
||||||
0:Alias expansion works at the end of parsed strings
|
0:Alias expansion works at the end of parsed strings
|
||||||
>foo
|
>foo
|
||||||
|
|
||||||
|
alias '&&=(){ return $?; } && '
|
||||||
|
alias not_the_print_command=print
|
||||||
|
eval 'print This is output
|
||||||
|
&& print And so is this
|
||||||
|
&& { print And this too; false; }
|
||||||
|
&& print But not this
|
||||||
|
&& print Nor this
|
||||||
|
true
|
||||||
|
&& not_the_print_command And aliases are expanded'
|
||||||
|
0:We can now alias special tokens. Woo hoo.
|
||||||
|
>This is output
|
||||||
|
>And so is this
|
||||||
|
>And this too
|
||||||
|
>And aliases are expanded
|
||||||
|
Loading…
Reference in New Issue
Block a user