about summary refs log tree commit diff
path: root/Doc/Zsh/compsys.yo
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-10-22 21:54:05 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-10-24 00:53:32 +0000
commitf1c0480afc49ce2accc70c69cf0aa3a975c1563c (patch)
tree368162d6a43c400275ddffd7f4fcac1dbc0b4059 /Doc/Zsh/compsys.yo
parent6f071b2309283bfe0798bd317f79622cc22270e0 (diff)
downloadzsh-f1c0480afc49ce2accc70c69cf0aa3a975c1563c.tar.gz
zsh-f1c0480afc49ce2accc70c69cf0aa3a975c1563c.tar.xz
zsh-f1c0480afc49ce2accc70c69cf0aa3a975c1563c.zip
39707: Document _dir_list.
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r--Doc/Zsh/compsys.yo15
1 files changed, 15 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index a56ca6721..f56daa459 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -4357,6 +4357,21 @@ matches.  Almost all calls to tt(compadd) within the completion system use
 a similar format; this ensures that user-specified styles are correctly
 passed down to the builtins which implement the internals of completion.
 )
+findex(_dir_list)
+item(tt(_dir_list) [ tt(-s) var(sep) ] [ tt(-S) ])(
+Complete a list of directory names separated by colons
+(the same format as tt($PATH)).
+
+startitem()
+item(tt(-s) var(sep))(
+Use var(sep) as separator between items.
+var(sep) defaults to a colon (`tt(:)').
+)
+item(tt(-S))(
+Add var(sep) instead of slash (`tt(/)') as an autoremoveable suffix.
+)
+enditem()
+)
 findex(_dispatch)
 item(tt(_dispatch) var(context string) ...)(
 This sets the current context to var(context) and looks for completion