aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
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'