diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-07-29 11:45:53 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-07-29 11:45:53 +0000 |
commit | e1d8ca1d70053e44c3e4950ceafe3f07e6e67d0d (patch) | |
tree | 41cb550a85746d904220b68b11f0b35432e12735 /Doc/Zsh/prompt.yo | |
parent | 241aa1d40d31dcab9b7f108939f220fb56b2480d (diff) | |
download | zsh-e1d8ca1d70053e44c3e4950ceafe3f07e6e67d0d.tar.gz zsh-e1d8ca1d70053e44c3e4950ceafe3f07e6e67d0d.tar.xz zsh-e1d8ca1d70053e44c3e4950ceafe3f07e6e67d0d.zip |
20208: ternary path codes in prompt treat / as zero elements
Diffstat (limited to 'Doc/Zsh/prompt.yo')
-rw-r--r-- | Doc/Zsh/prompt.yo | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo index cb4609240..2745abb1d 100644 --- a/Doc/Zsh/prompt.yo +++ b/Doc/Zsh/prompt.yo @@ -217,11 +217,13 @@ sitem(tt(#))(True if the effective uid of the current process is var(n).) sitem(tt(?))(True if the exit status of the last command was var(n).) sitem(tt(_))(True if at least var(n) shell constructs were started.) sxitem(tt(C)) -sitem(tt(/))(True if the current absolute path has at least var(n) elements.) +sitem(tt(/))(True if the current absolute path has at least var(n) elements +relative to the root directory, hence tt(/) is counted as 0 elements.) sxitem(tt(c)) sxitem(tt(.)) sitem(tt(~))(True if the current path, with prefix replacement, has at -least var(n) elements.) +least var(n) elements relative to the root directory, hence tt(/) is +counted as 0 elements.) sitem(tt(D))(True if the month is equal to var(n) (January = 0).) sitem(tt(d))(True if the day of the month is equal to var(n).) sitem(tt(g))(True if the effective gid of the current process is var(n).) |