diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2013-12-02 15:39:20 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2013-12-02 15:39:20 +0100 |
commit | 8f07e7658dcdfecc082ddaaad8e26f460eb02d45 (patch) | |
tree | a16ecc9a433b450827fbd056b06a3260592a8a37 /Completion/Zsh/Command | |
parent | df234cd62d04180a54071c7a2a5210d1f16c8b98 (diff) | |
parent | 56aa469d06a60ff23fe0c50ab9d44ae40c150412 (diff) | |
download | zsh-8f07e7658dcdfecc082ddaaad8e26f460eb02d45.tar.gz zsh-8f07e7658dcdfecc082ddaaad8e26f460eb02d45.zip |
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r-- | Completion/Zsh/Command/.distfiles | 1 | ||||
-rw-r--r-- | Completion/Zsh/Command/_run-help | 7 |
2 files changed, 8 insertions, 0 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 new file mode 100644 index 000000000..81adc4d84 --- /dev/null +++ b/Completion/Zsh/Command/_run-help @@ -0,0 +1,7 @@ +#compdef run-help +local d expl +local HELPDIR=${HELPDIR:-@runhelpdir@} +[[ -d $HELPDIR ]] && { + d=($HELPDIR/*(:t)) + (($#d)) && d+=('.' ':') && _wanted commands expl 'command' compadd -a d +} || _man |