summaryrefslogtreecommitdiff
path: root/etc/completions/_lighty-stats
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-14 16:23:29 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-14 16:23:29 +0200
commit50ff7f93f52d0ad2cf3788b40d8df8c1e89e87f6 (patch)
treeca734a5916cea12dbb393fd4f7ea4609b78ce7a7 /etc/completions/_lighty-stats
parentf278d37abc7ab4bffecb2b965c52e1d30584372c (diff)
etc/completions/_lighty-stats: Made it better, but zsh does not read the fucking file
Diffstat (limited to 'etc/completions/_lighty-stats')
-rw-r--r--etc/completions/_lighty-stats9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/completions/_lighty-stats b/etc/completions/_lighty-stats
index a4a987b..4d8ea3d 100644
--- a/etc/completions/_lighty-stats
+++ b/etc/completions/_lighty-stats
@@ -1,9 +1,9 @@
#compdef lighty-stats
## vim:ft=zsh
-local options
+local arguments
-options=(
+arguments=(
'(--no-show-days)--show-days'
'(--no-show-ips)--show-ips'
'(--no-show-hosts)--show-hosts'
@@ -16,6 +16,7 @@ options=(
'--ignore='
'--pathlength='
'--width='
- ''
+ '*:file:_files'
)
-_arguments -s $options
+
+_arguments -s $arguments