aboutsummaryrefslogtreecommitdiff
path: root/completion/zsh-completion.zsh
blob: 5222d38b281d3e287517a167936710efee9c06a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#compdef ponysay
_shortopts=(
    '-v[Show version and exit]'
    '-h[Show this help and exit]'
    '-l[list ponyfiles]'
    '-L[list ponyfiles with alternatives]'
    '-f[Select a pony (either a filename or a ponyname]: :_path_files -W "/usr/share/ponysay/ponies" -g "*(\:r)"'
    '-q[Select ponies for MLP:FiM quotes]'
    '-W[The screen column where the message should be wrapped]'
    )
_arguments -s : \
    "$_shortopts[@]"