about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorMartin Vaeth <vaeth@mathematik.uni-wuerzburg.de>2013-11-18 10:06:33 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2013-11-18 10:06:33 -0800
commit49959a35df8d22d8ccb5fc9ef726953d5ae7f891 (patch)
tree51654b943fbf8b21ff66889cbe259b035f5a317a /Completion/Zsh
parent7560ed59f99c770e45f29ae606f5d447245d4acd (diff)
downloadzsh-49959a35df8d22d8ccb5fc9ef726953d5ae7f891.tar.gz
zsh-49959a35df8d22d8ccb5fc9ef726953d5ae7f891.tar.xz
zsh-49959a35df8d22d8ccb5fc9ef726953d5ae7f891.zip
32008: complete "." and ":" for run-help, clean Doc/help in make
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/.distfiles1
-rw-r--r--Completion/Zsh/Command/_run-help2
2 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/.distfiles b/Completion/Zsh/Command/.distfiles
index 6feec496d..bf780a2a0 100644
--- a/Completion/Zsh/Command/.distfiles
+++ b/Completion/Zsh/Command/.distfiles
@@ -22,6 +22,7 @@ _precommand
 _print
 _prompt
 _read
+_run-help
 _sched
 _set
 _setopt
diff --git a/Completion/Zsh/Command/_run-help b/Completion/Zsh/Command/_run-help
index b579d9711..786ad3785 100644
--- a/Completion/Zsh/Command/_run-help
+++ b/Completion/Zsh/Command/_run-help
@@ -3,5 +3,5 @@ local d expl
 local HELPDIR=${HELPDIR:-/usr/share/zsh/$ZSH_VERSION/help}
 [[ -d $HELPDIR ]] && {
 	d=($HELPDIR/*(:t))
-	(($#d)) && _wanted commands expl 'command' compadd -a d
+	(($#d)) && d+=('.' ':') && _wanted commands expl 'command' compadd -a d
 } || _man