aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-20 10:11:25 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-20 10:11:25 +0200
commit37b11cd5de10afc2de9dd5e3fd5034beca85c855 (patch)
tree2569789996b12845818e573e9b540982c771ce54 /completion
parent503ae9db3f0daf72f5818bf7f07faecf87bec7e5 (diff)
downloadponysay-37b11cd5de10afc2de9dd5e3fd5034beca85c855.tar.gz
ponysay-37b11cd5de10afc2de9dd5e3fd5034beca85c855.tar.bz2
ponysay-37b11cd5de10afc2de9dd5e3fd5034beca85c855.zip
not using .py
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'