ponysay/completion/fish-completion.fish

23 lines
756 B
Fish
Raw Normal View History

2012-07-20 18:51:30 +02:00
# Completions for ponysay
# https://github.com/erkin/ponysay/
#
# Author: Elis Axelsson <etu AT elis DOT nu>
2012-08-18 16:37:55 +02:00
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"
2012-08-16 18:36:52 +02:00
complete -c ponysay -s L --description "List pony files with alternatives"
2012-08-18 16:37:55 +02:00
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"
2012-08-18 16:37:55 +02:00
set -e ponies
set -e quoters