Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
path PATH
- X-seq: zsh-users 28677
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: path PATH
- Date: Fri, 20 Jan 2023 13:57:02 -0800
- Archived-at: <https://zsh.org/users/28677>
- List-id: <zsh-users.zsh.org>
$ echo $path
. /aWorking/Zsh/System /aWorking/Bin /usr/local/bin /usr/sbin /usr/bin
$ echo $PATH
.:/aWorking/Zsh/System:/aWorking/Bin:/usr/local/bin:/usr/sbin:/usr/bin
$ typeset -p path
typeset -aT PATH path=( . /aWorking/Zsh/System /aWorking/Bin
/usr/local/bin /usr/sbin /usr/bin )
$ typeset -p PATH
export -T PATH path=( . /aWorking/Zsh/System /aWorking/Bin
/usr/local/bin /usr/sbin /usr/bin )
... looks like typeset doesn't want to show the real contents of $PATH.
As I understand it, the '-T' switch links two arrays that have different
names but the same content. Is this an exception? Might hafta be,
because I know that the two are linked even tho they format
differently. Still one should be able to view $PATH 'honestly' no?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author