mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 12:27:59 +01:00
11 lines
345 B
Bash
11 lines
345 B
Bash
#compdef ponysay
|
|
_shortopts=(
|
|
'-v[Show version and exit]'
|
|
'-h[Show this help and exit]'
|
|
'-l[list ponyfiles]'
|
|
'-f[Select a pony (either a filename or a ponyname]: :_path_files -W "/usr/share/ponysay/ponies" -g "*(\:r)"'
|
|
'-W[The screen column where the message should be wrapped]'
|
|
)
|
|
_arguments -s : \
|
|
"$_shortopts[@]"
|
|
|