mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-02-01 15:32:12 +01:00
A better fix than my last patch is to use "setopt localoptions".
This commit is contained in:
parent
eb09406787
commit
a97e3fda33
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
%prep
|
||||
|
||||
setopt noglob
|
||||
setopt localoptions noglob
|
||||
|
||||
scalar=scalar
|
||||
array=(a r r a y)
|
||||
|
@ -342,7 +342,7 @@
|
|||
>scalar a r y
|
||||
|
||||
# The first declare works around the "not an identifier" bug with -h
|
||||
(declare \! \# \$ \* - \? @ 0
|
||||
declare \! \# \$ \* - \? @ 0
|
||||
typeset -h +g -m \*
|
||||
unset -m \*
|
||||
integer i=9
|
||||
|
@ -350,7 +350,7 @@
|
|||
declare -t scalar
|
||||
declare -H -a array
|
||||
typeset
|
||||
typeset +)
|
||||
typeset +
|
||||
0:Parameter hiding and tagging, printing types and values
|
||||
>array local array
|
||||
>float local f
|
||||
|
|
Loading…
Reference in a new issue