diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-28 10:45:54 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-28 10:45:54 +0000 |
commit | b015f25ec9b2d8ff80a3955880cce7c90384840c (patch) | |
tree | ed21b29ee8c7e9c4c5f2c927767d16db34cf4597 /Doc/Zsh | |
parent | 4908fb3158aa452b7c5244279a94868875d5afa5 (diff) | |
download | zsh-b015f25ec9b2d8ff80a3955880cce7c90384840c.tar.gz zsh-b015f25ec9b2d8ff80a3955880cce7c90384840c.tar.xz zsh-b015f25ec9b2d8ff80a3955880cce7c90384840c.zip |
zsh-workers/8084
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/builtins.yo | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 328e7db80..fb1d63569 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -682,7 +682,12 @@ item(tt(pwd) [ tt(-rLP) ])( Print the absolute pathname of the current working directory. If the tt(-r) or the tt(-P) flag is specified, or the tt(CHASE_LINKS) option is set and the tt(-L) flag is not given, the printed path will not -contain symbolic links. +contain symbolic links. Otherwise, the shell will print the stored +directory, i.e. the value to which tt($PWD) was last set. In this case, it +will check that the current tt($PWD) is still valid; if it is, or if it is +unable to find a valid path because the current directory no longer exists, +it will print that, and if it is not, it will print the full path without +symbolic links and update tt($PWD) accordingly. ) alias(r)(fc -e -) findex(read) |