mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
28220 plus some comments: fix "HELLO=$HELLO shellfunc"
This commit is contained in:
parent
afc3a7c412
commit
8bc64084a4
4 changed files with 62 additions and 13 deletions
|
|
@ -277,3 +277,18 @@
|
|||
>
|
||||
>
|
||||
>
|
||||
|
||||
call() { print $HELLO; }
|
||||
export HELLO=world
|
||||
call
|
||||
HELLO=universe call
|
||||
call
|
||||
HELLO=${HELLO}liness call
|
||||
call
|
||||
unset HELLO
|
||||
0:save and restore when using original value in temporary
|
||||
>world
|
||||
>universe
|
||||
>world
|
||||
>worldliness
|
||||
>world
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue