aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
Diffstat (limited to 'completion')
-rw-r--r--completion/bash-completion.sh4
-rw-r--r--completion/fish-completion.fish4
2 files changed, 4 insertions, 4 deletions
diff --git a/completion/bash-completion.sh b/completion/bash-completion.sh
index bb575f4..d790786 100644
--- a/completion/bash-completion.sh
+++ b/completion/bash-completion.sh
@@ -9,11 +9,11 @@ _ponysay()
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
if [ $prev = "-f" ] || [ $prev = "--pony" ]; then
- ponies=$('/usr/bin/ponysay.py' --onelist)
+ ponies=$('/usr/bin/ponysay' --onelist)
COMPREPLY=( $( compgen -W "$ponies" -- "$cur" ) )
elif [ $prev = "-q" ] || [ $prev = "--quote" ]; then
- quoters=$('/usr/bin/ponysay.py' --quoters)
+ quoters=$('/usr/bin/ponysay' --quoters)
COMPREPLY=( $( compgen -W "$quoters" -- "$cur" ) )
elif [ $prev = "-W" ] || [ $prev = "--wrap" ]; then
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish
index 1c6c57a..9233c67 100644
--- a/completion/fish-completion.fish
+++ b/completion/fish-completion.fish
@@ -3,8 +3,8 @@
#
# 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' --onelist)
+set -g quoters ('/usr/bin/ponysay' --quoters)
complete --command ponysay --short-option h --long-option help --description 'help of ponysay'