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

Re: path PATH



On Fri, Jan 20, 2023, at 9:23 PM, Ray Andrews wrote:
> And only PATH path is reported as 'export 
> -T' (as well as 'typeset -g -aT', but all the '-T' arrays have double 
> entries tho only PATH path has that unique 2nd version).
>
> $ typeset -p | grep --color=always -- '^export -T'
> export -T PATH path=( . /aWorking/Zsh/System /aWorking/Bin 
> /usr/local/bin /usr/sbin /usr/bin )
>
> ... so it is unique.

No, that just means that PATH is the only global scalar that has
been tied and exported.  If you tie and export additional ones
they'll show up too.

-- 
vq




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