mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
Test for 36265, no alias expansion after "function"
This commit is contained in:
parent
f4c37a78b1
commit
e5d5a76dce
2 changed files with 22 additions and 0 deletions
|
|
@ -295,6 +295,19 @@
|
|||
>}
|
||||
>This is the correct output.
|
||||
|
||||
unfunction command_not_found_handler # amusing but unhelpful
|
||||
alias first='firstfn1 firstfn2' second='secondfn1 secondfn2'
|
||||
function first second { print This is function $0; }
|
||||
first
|
||||
second
|
||||
firstfn1
|
||||
secondfn1
|
||||
127:No alias expansion after "function" keyword
|
||||
>This is function first
|
||||
>This is function second
|
||||
?(eval):6: command not found: firstfn1
|
||||
?(eval):7: command not found: secondfn1
|
||||
|
||||
%clean
|
||||
|
||||
rm -f file.in file.out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue