aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-10-23 18:59:50 +0200
committerMattias Andrée <maandree@operamail.com>2012-10-23 18:59:50 +0200
commitd96422a8101bc37a80cc43af69862029e998f2ea (patch)
treeab7420450b56ecd8159ad173330c1aad7d81b273 /completion
parentf13a4be55738ad86c70f098ba2ebdecec33a037d (diff)
parent50f71bfd053cf90930c06199cd4147ea6d9624e4 (diff)
downloadponysay-d96422a8101bc37a80cc43af69862029e998f2ea.tar.gz
ponysay-d96422a8101bc37a80cc43af69862029e998f2ea.tar.bz2
ponysay-d96422a8101bc37a80cc43af69862029e998f2ea.zip
Merge branch 'master' of github.com:erkin/ponysay
Diffstat (limited to 'completion')
-rw-r--r--completion/bash-completion.sh3
-rw-r--r--completion/fish-completion.fish2
2 files changed, 3 insertions, 2 deletions
diff --git a/completion/bash-completion.sh b/completion/bash-completion.sh
index 4f59a4a..e9c284c 100644
--- a/completion/bash-completion.sh
+++ b/completion/bash-completion.sh
@@ -5,7 +5,8 @@ _ponysay()
local cur prev words cword
_init_completion -n = || return
- options='--version --help --list --altlist --pony --wrap --quote --balloonlist --balloon --file ++file ++pony ++list ++altlist'
+ options="--version --help --list --altlist --pony --wrap --quote --balloonlist --balloon --file ++file ++pony ++list ++altlist --all ++all"
+ options="$options --256-colours --tty-colours --kms-colours"
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
if [ $prev = "-f" ] || [ $prev = "--pony" ] || [ $prev = "--file" ]; then
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish
index 68e013a..044dd78 100644
--- a/completion/fish-completion.fish
+++ b/completion/fish-completion.fish
@@ -9,7 +9,7 @@ set -g quoters ('/usr/bin/ponysay' --quoters)
set -g balloons ('/usr/bin/ponysay' --balloonlist)
-## TODO: update with options [see info manual]: +l +L ++list ++altlist ++file --file ++pony
+## TODO: update with options [see info manual]: +l +L ++list ++altlist ++file --file ++pony {-A, +A, -V, -K, -X}(with alternative)
complete --command ponysay --short-option h --long-option help --description 'help of ponysay'
complete --command ponysay --short-option v --long-option version --description 'version of ponysay'
complete --command ponysay --short-option l --long-option list --description 'list pony names'