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

Re: path PATH




Finally have what I thought I had: the full story on PATH path:


3 /aWorking/Zsh/Source/Wk 0 $ . test1; vv path

Stes  PATH = .:/aWorking/Zsh/System:/aWorking/Bin:/usr/local/bin:/usr/sbin:/usr/bin Ats   path = ( . /aWorking/Zsh/System /aWorking/Bin /usr/local/bin /usr/sbin /usr/bin ) ...

Here's the legend, from the accompanying help:

TYPES: These are condensed from the detailed information you can see like this: '$ print ${(t)path}'.  Basic types are capitalized, modifiers are in lower case:

S: An ordinary scalar (not an integer or float).
I: An integer.
F: A float ('typeset -F:' decimal display or 'typeset -E': scientific display).
A: A normal array.
H: An associative array or 'association' or 'hash' (always 'hideval' as well). e: The variable has been exported to the environment and is thus persistent within that terminal -- it will be inherited by subshells.
l: The variable is local to the running function.
t: The variable is 'tied' to another variable (see docs: 'typeset -T').
s: The variable is special to the shell.
r: The variable is read-only (this often goes with 'special').
v: 'hideval': the value of the variable will be hidden -- there are things we really don't want to see, like lists of color codes.  This tends to go with 'special' and 'hide'.
h: Hide: Used with 'special' (see docs: 'typeset -h').
u: Unique: ??(no documentation found).
?: Undefined: For autoloaded parameters not yet loaded (whatever that means).
"

... edits and corrections most welcome.  Have I missed any?


3 /aWorking/Zsh/Source/Wk 0 $ vv "z*"

S     Z = /aWorking/Zsh
A     zle_bracketed_paste = ( $'\C-[[?2004h' $'\C-[[?2004l' )
S     ZSH_ARGZERO = zsh
S     ZSHBOOT = /aWorking/Zsh/Boot
Srts  ZSH_EVAL_CONTEXT = toplevel:shfunc:cmdsubst
Arts  zsh_eval_context = ( toplevel shfunc cmdsubst )
S     ZSH_NAME = zsh
S     ZSH_PATCHLEVEL = debian/5.8-6+deb11u1
Arhvs zsh_scheduled_events = !hidden!
Irs   ZSH_SUBSHELL = 1
S     ZSH_VERSION = 5.8







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