summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-04-21 23:41:53 +0000
committerClint Adams <clint@users.sourceforge.net>2005-04-21 23:41:53 +0000
commite725a7b99831e952ebeda82744f28afb86737f5e (patch)
treecbdd04c994da171003161d0910037c0fcd8aa739 /Completion/Unix
parent2ab4b131be9bddcbd601e41736aa2b33d6cb1dff (diff)
downloadzsh-e725a7b99831e952ebeda82744f28afb86737f5e.tar.gz
zsh-e725a7b99831e952ebeda82744f28afb86737f5e.tar.xz
zsh-e725a7b99831e952ebeda82744f28afb86737f5e.zip
users/8733: rudimentary completion for surfraw.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_surfraw15
1 files changed, 15 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_surfraw b/Completion/Unix/Command/_surfraw
new file mode 100644
index 000000000..ebb739a8d
--- /dev/null
+++ b/Completion/Unix/Command/_surfraw
@@ -0,0 +1,15 @@
+#compdef surfraw sr
+
+_arguments \
+   '-browser=[set browser]:browser:_command_names' \
+   '-elvi[list Surfraw mechanisms for conquering evil]' \
+   '-escape-url-args=[apply url escaping to arguments]:bool:(yes no)' \
+   '(-g -graphical)'{-g,-graphical}'[get some windowed sin]' \
+   '-p0rn=[Yes, yes, harder, deeper, faster, oh baybe]:bool:(yes no)' \
+   '-help' \
+   '-quiet:bool:(yes no)' \
+   '-new[start in a new window]' \
+   '(-t -text)'{-t,-text}'[back to the yellow brick road]' \
+   '(-q -quote)'{-q,-quote}'[Quote arguments with quote characters]' \
+   '-version[display Surfraw version]' \
+   ':elvi: compadd ${${(f)"$(surfraw -elvi)"}%%[[:space:]]##--*}'