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

Re: path PATH



On Sun, Jan 29, 2023, at 5:33 PM, Ray Andrews wrote:
> On 2023-01-29 13:21, Lawrence Velázquez wrote:
>> On Sun, Jan 29, 2023, at 10:54 AM, Ray Andrews wrote:
>>> BTW am I mistaken that 'hideval' is not discussed anywhere?
>> Look up typeset -H in zshbuiltins(1).
>>
> No mention of 'hideval' that I can see.  It's not a stretch to 
> understand that '-H' will set the attribute that is called 'hideval' but 
> IMHO that should be explicit.

The patch Bart mentioned earlier adds an explicit reference.

> BTW since 'typeset -p' claims to display information in the same format 
> as for the recreation of the parameter:
>
> 1 /aWorking/Zsh/Source/Wk 0 $ typeset -Hi zzz=123
>
> 1 /aWorking/Zsh/Source/Wk 0 $ typeset -p zzz
> typeset -i zzz
>
> ... but if I run that output as a new command, the -H is clearly lost.

Feels like a bug.

-- 
vq




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