bashrc/.bashrc.d/triumph.sh

28 lines
374 B
Bash
Executable File

triumph() {
if [ $? -eq 0 ]; then
echo -n "This "
sing G5 200
echo -n "was "
sing Fs5 200
echo -n "a "
sing E5 200
echo -n "tri"
sing E5 200
echo "umph."
sing Fs5 200
else
echo "You've got sucker's luck"
sing \
G5 800 -n \
E5 175 -n \
B5 400 -n \
E5 175 -n \
A5 400 -n \
G5 250 -n \
E5 275 -n \
D5 500 -n \
E5 300
fi
}