about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-08-28 11:04:02 +0100
committerPeter Stephenson <pws@zsh.org>2015-08-28 11:04:02 +0100
commit945136e75283e9409b5a668c6b84b4900a5fcb12 (patch)
treef7cd072351c4410239a03fc93e99e4be6cf3935f /Doc
parent946e5d89a928fb1f1fa371f3eb5b48b48be24245 (diff)
downloadzsh-945136e75283e9409b5a668c6b84b4900a5fcb12.tar.gz
zsh-945136e75283e9409b5a668c6b84b4900a5fcb12.tar.xz
zsh-945136e75283e9409b5a668c6b84b4900a5fcb12.zip
users/20475: document cdr stores unique entry of most recent use
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/contrib.yo10
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 4e87d4116..db0940d94 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -339,9 +339,13 @@ previous working directory from a list maintained automatically.  It is
 similar in concept to the directory stack controlled by the tt(pushd),
 tt(popd) and tt(dirs) builtins, but is more configurable, and as it stores
 all entries in files it is maintained across sessions and (by default)
-between terminal emulators in the current session.  (The tt(pushd)
-directory stack is not actually modified or used by tt(cdr) unless you
-configure it to do so as described in the configuration section below.)
+between terminal emulators in the current session.  Duplicates are
+automatically removed, so that the list reflects the single most recent
+use of each directory.
+
+Note that the tt(pushd) directory stack is not actually modified or used
+by tt(cdr) unless you configure it to do so as described in the
+configuration section below.
 
 subsect(Installation)