Update ponysay

This commit is contained in:
Erkin Batu Altunbaş 2012-02-26 17:02:57 +01:00
parent 9dc80bf1b4
commit 7b4ce006cc

View file

@ -7,7 +7,7 @@ function ponyf() {
if [[ -f ${ponydir}/${1}.cow ]] ; then
cowsay -f "${ponydir}/${1}.cow" $@
else
ponyr
ponyr $@
fi
}
function ponyr() {
@ -20,6 +20,7 @@ do
v) echo "v0.01" ; exit;;
h) echo "helpherpderp" ; exit;;
f) ponyf $* ; exit;;
\?) echo "DERP"; exit;;
*) ponyr $* ; exit;;
esac
done