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 | |
parent | 2ab4b131be9bddcbd601e41736aa2b33d6cb1dff (diff) | |
download | zsh-e725a7b99831e952ebeda82744f28afb86737f5e.tar.gz zsh-e725a7b99831e952ebeda82744f28afb86737f5e.tar.xz zsh-e725a7b99831e952ebeda82744f28afb86737f5e.zip |
users/8733: rudimentary completion for surfraw.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_surfraw | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 8d07de20e..f4102b18c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-04-21 Clint Adams <clint@zsh.org> + + * users/8733: Completion/Unix/Command/_surfraw: rudimentary + completion for surfraw. + 2005-04-19 Clint Adams <clint@zsh.org> * 21156: Completion/Debian/Command/_dpkg: tweaks to 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:]]##--*}' |