diff options
author | 2010-02-24 09:36:03 +0100 | |
---|---|---|
committer | 2010-02-24 09:36:03 +0100 | |
commit | 22b6342f29a78c9e81361dbae756406b113150c4 (patch) | |
tree | b12ec5c1ab880346fa549e9e5eb006f7b88d9462 /zsh-completion | |
parent | 5d3cbdd0e39a7af5dfce7a3f7747c7a6d2dbe828 (diff) | |
download | paludis-22b6342f29a78c9e81361dbae756406b113150c4.tar.gz paludis-22b6342f29a78c9e81361dbae756406b113150c4.tar.xz |
zsh-completion: Add cave config completion
Diffstat (limited to 'zsh-completion')
-rw-r--r-- | zsh-completion/_cave | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave index 6607af389..81937a7bf 100644 --- a/zsh-completion/_cave +++ b/zsh-completion/_cave @@ -18,6 +18,7 @@ _cave() ) _cave_commands=( + 'config:Perform post-install configuration on a package' 'help:Display help information for a particular command' 'perform:Perform an action upon a package' 'print-categories:Prints a list of known categories' @@ -66,6 +67,13 @@ _cave() } +(( ${+functions[_cave_cmd_config]} )) || +_cave_cmd_config() +{ + _arguments -s : \ + '(--help -h)'{--help,-h}'[Display help messsage]' +} + (( ${+functions[_cave_cmd_help]} )) || _cave_cmd_help() { |