aboutsummaryrefslogtreecommitdiff
path: root/completion/fish-completion.fish
blob: 727460b4b0508ed3be9864022d8f26856f46d61d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Completions for ponysay
# https://github.com/erkin/ponysay/
#
# Author: Elis Axelsson <etu AT elis DOT nu>


set -g ponies  ('/usr/bin/ponysay.pl' --onelist)
set -g quoters ('/usr/bin/ponysay.pl' --quoters)


complete -c ponysay -s h --description "Help of ponysay"
complete -c ponysay -s v --description "Version of ponysay"
complete -c ponysay -s l --description "List pony files"
complete -c ponysay -s L --description "List pony files with alternatives"
complete -c ponysay -s f -a "$ponies" --description "Select a pony"
complete -c ponysay -s q -a "$quoters" --description "Select ponies for MLP:FiM quotes"
complete -c ponysay -s W -a "Integer" --description "The screen column where the message should be wrapped"


set -e ponies
set -e quoters