Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: path PATH




On 2023-01-30 06:40, Ray Andrews wrote:


... so at least you see the attributes correctly ( I should use the 'real' single letters that typeset uses) even if you are still forbidden to see the value.  It's a design decision of course, but IMHO every locked door has a key, every constitution can be amended and every var should be viewable and editable even if (in this case) only by explicit exception.  Is there really no way at all to see the value of a hideval?  Surely there is.




1 /aWorking/Zsh/Source/Wk 0 $ typeset -Hi zzz=123

1 /aWorking/Zsh/Source/Wk 0 $ typeset -p zzz
typeset -i zzz

1 /aWorking/Zsh/Source/Wk 0 $ typeset +H zzz

1 /aWorking/Zsh/Source/Wk 0 $ typeset -p zzz
typeset -i zzz=123

1 /aWorking/Zsh/Source/Wk 0 $ typeset -Hi zzz=456

1 /aWorking/Zsh/Source/Wk 0 $ typeset -p zzz
typeset -i zzz

1 /aWorking/Zsh/Source/Wk 0 $ typeset +H zzz

1 /aWorking/Zsh/Source/Wk 0 $ typeset -p zzz
typeset -i zzz=456

... it seems like a whole lot of trouble.




Messages sorted by: Reverse Date, Date, Thread, Author