From 37b11cd5de10afc2de9dd5e3fd5034beca85c855 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 20 Aug 2012 10:11:25 +0200 Subject: not using .py --- completion/bash-completion.sh | 4 ++-- completion/fish-completion.fish | 4 ++-- 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 -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' -- cgit