From 109c0f20f8f5351f55f023c2447c6750921b2998 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 28 Mar 2008 14:51:31 +0000 Subject: 24775: improve _cd option handling --- Doc/Zsh/compsys.yo | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 6350dfb84..69cef33cd 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1221,6 +1221,16 @@ bindable command. If it set to `true' and the word on the command line is not the name of an alias, matching alias names will be completed. ) +kindex(complete-options, completion style) +time(tt(complete-options))( +This is used by the completer for tt(cd), tt(chdir) and tt(pushd). +For these commands a tt(-) is used to introduce a directory stack entry +and completion of these is far more common than completing options. +Hence unless the value of this style is true options will not be +completed, even after an initial tt(-). If it is true, options will +be completed after an initial tt(-) unless there is a preceeding +tt(--) on the command line. +) kindex(completer, completion style) item(tt(completer))( The strings given as the value of this style provide the names of the -- cgit 1.4.1