summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_surfraw
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-12-03 19:16:12 +0000
committerClint Adams <clint@users.sourceforge.net>2005-12-03 19:16:12 +0000
commitef175160df2b40c49b1b21cfa23ad3190dd590d9 (patch)
tree10260cde0b11afe6aeba69db9f37abe56d234ed8 /Completion/Unix/Command/_surfraw
parent22049: bug exiting from sourced file within function (diff)
downloadzsh-4.2.6.tar
zsh-4.2.6.tar.gz
zsh-4.2.6.tar.bz2
zsh-4.2.6.tar.lz
zsh-4.2.6.tar.xz
zsh-4.2.6.tar.zst
zsh-4.2.6.zip
unposted: surfraw completion from HEAD.zsh-4.2.6
Diffstat (limited to 'Completion/Unix/Command/_surfraw')
-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..20c8349d0
--- /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:]]##--*}'