1
0
Fork 0
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:
Wayne Davison 2005-08-10 18:57:23 +00:00
parent eb09406787
commit a97e3fda33

View file

@ -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