From b015f25ec9b2d8ff80a3955880cce7c90384840c Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 28 Sep 1999 10:45:54 +0000 Subject: zsh-workers/8084 --- Doc/Zsh/builtins.yo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Doc') 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) -- cgit 1.4.1