summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-23 17:05:52 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-23 17:05:52 +0200
commit89f9c08516dd36ee527adaf72f0a9208345801c4 (patch)
treed36531e7da692746a68455f3ee5fcebd03df6082
parent992ede20d77b382602b509d9066de463675ad5a8 (diff)
etc/completions/_pkg: Enabled packagename completion. It's only partial ans sucks, but better than nothing
-rw-r--r--etc/completions/_pkg10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/completions/_pkg b/etc/completions/_pkg
index 80241eb..129197c 100644
--- a/etc/completions/_pkg
+++ b/etc/completions/_pkg
@@ -2,7 +2,7 @@
## vim:ft=zsh
local values
-#local arguments
+local arguments
values=(
'add'
@@ -21,8 +21,8 @@ values=(
'update'
'upgrade'
)
-#arguments=(
-# '*:file:_path_files -W /home/derf/packages'
-#)
+arguments=(
+ '*:file:_path_files -W /home/derf/packages -/'
+)
_values -w -s ' ' 'pkg function' $values
-#_arguments -s $arguments
+_arguments -s $arguments