mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 13:57:59 +01:00
Update ponysay
This commit is contained in:
parent
9dc80bf1b4
commit
7b4ce006cc
1 changed files with 2 additions and 1 deletions
3
ponysay
3
ponysay
|
@ -7,7 +7,7 @@ function ponyf() {
|
||||||
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
||||||
cowsay -f "${ponydir}/${1}.cow" $@
|
cowsay -f "${ponydir}/${1}.cow" $@
|
||||||
else
|
else
|
||||||
ponyr
|
ponyr $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function ponyr() {
|
function ponyr() {
|
||||||
|
@ -20,6 +20,7 @@ do
|
||||||
v) echo "v0.01" ; exit;;
|
v) echo "v0.01" ; exit;;
|
||||||
h) echo "helpherpderp" ; exit;;
|
h) echo "helpherpderp" ; exit;;
|
||||||
f) ponyf $* ; exit;;
|
f) ponyf $* ; exit;;
|
||||||
|
\?) echo "DERP"; exit;;
|
||||||
*) ponyr $* ; exit;;
|
*) ponyr $* ; exit;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue