aboutsummaryrefslogtreecommitdiff
path: root/completion/zsh-completion.zsh
blob: 07b2ebfb07ea350af5b6f08824ca33aded86b6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
#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[@]"