diff options
author | Clint Adams <clint@users.sourceforge.net> | 2005-04-21 23:41:53 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2005-04-21 23:41:53 +0000 |
commit | e725a7b99831e952ebeda82744f28afb86737f5e (patch) | |
tree | cbdd04c994da171003161d0910037c0fcd8aa739 /Completion/Unix | |
parent | 2ab4b131be9bddcbd601e41736aa2b33d6cb1dff (diff) | |
download | zsh-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/_surfraw | 15 |
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:]]##--*}' |