2012-05-12 02:19:59 +02:00
|
|
|
#compdef ponysay
|
|
|
|
_shortopts=(
|
|
|
|
'-v[Show version and exit]'
|
|
|
|
'-h[Show this help and exit]'
|
2012-08-21 17:26:21 +02:00
|
|
|
'-l[list pony names]'
|
|
|
|
'-L[list pony names with alternatives]'
|
2012-08-22 16:25:35 +02:00
|
|
|
'+l[list extra pony names]'
|
|
|
|
'+L[list extra pony names with alternatives]'
|
2012-08-21 17:26:21 +02:00
|
|
|
'-B[list balloon style names]'
|
2012-08-22 16:25:35 +02:00
|
|
|
'-f[Select a pony (either a file name or a pony name)]: :_path_files -W '/usr/share/ponysay/ponies' -g "*(\:r)"'
|
|
|
|
'-F[Select a extra pony]: :_path_files -W '/usr/share/ponysay/extraponies' -g "*(\:r)"'
|
2012-08-16 18:36:52 +02:00
|
|
|
'-q[Select ponies for MLP:FiM quotes]'
|
2012-08-21 17:26:21 +02:00
|
|
|
'-b[Selecy a balloon style]'
|
2012-05-12 02:19:59 +02:00
|
|
|
'-W[The screen column where the message should be wrapped]'
|
|
|
|
)
|
|
|
|
_arguments -s : \
|
|
|
|
"$_shortopts[@]"
|
|
|
|
|