about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
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:]]##--*}'