aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2010-02-24 09:36:03 +0100
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2010-02-24 09:36:03 +0100
commit22b6342f29a78c9e81361dbae756406b113150c4 (patch)
treeb12ec5c1ab880346fa549e9e5eb006f7b88d9462
parent5d3cbdd0e39a7af5dfce7a3f7747c7a6d2dbe828 (diff)
downloadpaludis-22b6342f29a78c9e81361dbae756406b113150c4.tar.gz
paludis-22b6342f29a78c9e81361dbae756406b113150c4.tar.xz
zsh-completion: Add cave config completion
-rw-r--r--zsh-completion/_cave8
1 files changed, 8 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave
index 6607af3..81937a7 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()
{