From f1c0480afc49ce2accc70c69cf0aa3a975c1563c Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 22 Oct 2016 21:54:05 +0000 Subject: 39707: Document _dir_list. --- ChangeLog | 4 ++++ Doc/Zsh/compsys.yo | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog b/ChangeLog index f63ffa6fa..0fac01a90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-10-24 Daniel Shahaf + + * 39707: Doc/Zsh/compsys.yo: Document _dir_list. + 2016-10-23 Peter Stephenson * 39715: Src/Zle/complist.c: handle multibyte characters when 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 -- cgit 1.4.1