about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-05-27 15:57:50 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-05-27 15:57:50 +0000
commitb197c9dbfb79798cd48b49d2180ad212af6c9a46 (patch)
tree8a49da4744c98e6a58fe9748909b02a582fa497e
parent4e6035312b3d86fb9c39740a6960ca6c79e5504f (diff)
downloadzsh-b197c9dbfb79798cd48b49d2180ad212af6c9a46.tar.gz
zsh-b197c9dbfb79798cd48b49d2180ad212af6c9a46.tar.xz
zsh-b197c9dbfb79798cd48b49d2180ad212af6c9a46.zip
29385: document when local-directories is used instead of directories
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/compsys.yo7
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c96647a4..94b52c503 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,9 @@
 	* 29387: Completion/Unix/Command/.distfiles,
 	Completion/Unix/Command/_at: Add completion for at and friends.
 
+	* 29385: Doc/Zsh/compsys.yo: Document when directories and
+	local-directories are used.
+
 2011-05-27  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* 29382: Src/Modules/curses.c: apply 29374 to zccmd_input too.
@@ -14867,5 +14870,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5342 $
+* $Revision: 1.5343 $
 *****************************************************
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index e08892241..ad2562a26 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -786,7 +786,9 @@ for names of device special files
 )
 kindex(directories, completion tag)
 item(tt(directories))(
-for names of directories
+for names of directories DASH()- tt(local-directories) is used instead
+when completing arguments of tt(cd) and related builtin commands when
+the tt(cdpath) array is set
 )
 kindex(directory-stack, completion tag)
 item(tt(directory-stack))(
@@ -879,7 +881,8 @@ kindex(local-directories, completion tag)
 item(tt(local-directories))(
 for names of directories that are subdirectories of the current working
 directory when completing arguments of tt(cd) and related builtin
-commands (compare tt(path-directories))
+commands (compare tt(path-directories)) DASH()- when the tt(cdpath)
+array is unset, tt(directories) is used instead
 )
 kindex(manuals, completion tag)
 item(tt(manuals))(