1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-11-13 23:23:31 +01:00
dotfiles/bash/scriptlets/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