2005-04-22 01:41:53 +02:00
|
|
|
#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]' \
|
2005-06-01 12:02:28 +02:00
|
|
|
'-p0rn=[yes, yes, harder, deeper, faster, oh baybe]:bool:(yes no)' \
|
2005-04-22 01:41:53 +02:00
|
|
|
'-help' \
|
|
|
|
'-quiet:bool:(yes no)' \
|
|
|
|
'-new[start in a new window]' \
|
|
|
|
'(-t -text)'{-t,-text}'[back to the yellow brick road]' \
|
2005-06-01 12:02:28 +02:00
|
|
|
'(-q -quote)'{-q,-quote}'[quote arguments with quote characters]' \
|
2005-04-22 01:41:53 +02:00
|
|
|
'-version[display Surfraw version]' \
|
|
|
|
':elvi: compadd ${${(f)"$(surfraw -elvi)"}%%[[:space:]]##--*}'
|