aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorElis Axelsson <elis.axelsson@gmail.com>2012-08-19 10:05:29 +0200
committerElis Axelsson <elis.axelsson@gmail.com>2012-08-19 10:05:29 +0200
commit1ca00b100a480c5347875c1607b80954d1d400fc (patch)
treebc753bfa9701aa2d6e882eb08ba4710a69c83cd2 /completion
parent4648a1ee6f7c6d1fb2dd6ababafc4b7d304703ff (diff)
downloadponysay-1ca00b100a480c5347875c1607b80954d1d400fc.tar.gz
ponysay-1ca00b100a480c5347875c1607b80954d1d400fc.tar.bz2
ponysay-1ca00b100a480c5347875c1607b80954d1d400fc.zip
Updated fish-completions
Diffstat (limited to 'completion')
-rw-r--r--completion/fish-completion.fish21
1 files changed, 10 insertions, 11 deletions
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish
index 727460b..15bd132 100644
--- a/completion/fish-completion.fish
+++ b/completion/fish-completion.fish
@@ -1,20 +1,19 @@
-# Completions for ponysay
+# FISH completions for ponysay
# https://github.com/erkin/ponysay/
#
# Author: Elis Axelsson <etu AT elis DOT nu>
+set -g ponies ('/usr/bin/ponysay.py' --onelist)
+set -g quoters ('/usr/bin/ponysay.py' --quoters)
-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"
+complete -c ponysay -s h -l help --description "help of ponysay"
+complete -c ponysay -s v -l version --description "version of ponysay"
+complete -c ponysay -s l -l list --description "list pony files"
+complete -c ponysay -s L -l altlist --description "list pony files with alternatives"
+complete -c ponysay -s f -l pony -a "$ponies" --description "select a pony"
+complete -c ponysay -s q -l quote -a "$quoters" --description "select a pony which will quote herself"
+complete -c ponysay -s W -l wrap -a "Integer" --description "specify the column when the message should be wrapped"
set -e ponies