ponysay/completion/zsh-completion.zsh

14 lines
431 B
Bash
Raw Permalink Normal View History

#compdef ponysay
_shortopts=(
'-v[Show version and exit]'
'-h[Show this help and exit]'
'-l[list ponyfiles]'
2012-08-16 18:36:52 +02:00
'-L[list ponyfiles with alternatives]'
'-f[Select a pony (either a filename or a ponyname]: :_path_files -W '/usr/share/ponysay/ponies' -g "*(\:r)"'
2012-08-16 18:36:52 +02:00
'-q[Select ponies for MLP:FiM quotes]'
'-W[The screen column where the message should be wrapped]'
)
_arguments -s : \
"$_shortopts[@]"