about summary refs log tree commit diff
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
parent946e5d89a928fb1f1fa371f3eb5b48b48be24245 (diff)
downloadzsh-945136e75283e9409b5a668c6b84b4900a5fcb12.tar.gz
zsh-945136e75283e9409b5a668c6b84b4900a5fcb12.tar.xz
zsh-945136e75283e9409b5a668c6b84b4900a5fcb12.zip
users/20475: document cdr stores unique entry of most recent use
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/contrib.yo10
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b326495b0..7f4675d11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-08-28  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* users/20475: Doc/Zsh/contrib.yo: mention that cdr mechanism
+	keeps unique list with most recent use first.
+
 	* users/20466: Test/V09datetime.ztst: make test for skipping
 	strftime extention tests one that is known to fail on
 	Solaris.  Reason is not yet known, but there's no current
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)