diff options
-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:]]##--*}' |