1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-23 01:33:32 +01:00
dotfiles/bash/bash.d/fortune

11 lines
150 B
Text
Raw Normal View History

2016-10-03 10:30:30 +02:00
# Give a fortune cookie
if [[ $(command -v fortune) ]]
then
if [[ $(command -v cowsay) ]]
then
fortune -so | cowsay -n
else
fortune -so
fi
fi