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

Re: path PATH



On Sat, Jan 21, 2023 at 8:21 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:

I suspect
that, as Lawrence said, it's because PATH is an internally created
modification of path, it's a scalar created from an array.  So FOO is
all fine, but PATH has a certain specialness -- no other tied parameter
has one 'version' different from the other.

The definition of a tied parameter is that one of the pair is a scalar string with an internal delimiter defaulting to a colon, and the other is an array of the delimited values.  There's nothing magic about PATH in this respect.


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