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

path PATH



$ 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