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

10 lines
150 B
Text

# Give a fortune cookie
if [[ $(command -v fortune) ]]
then
if [[ $(command -v cowsay) ]]
then
fortune -so | cowsay -n
else
fortune -so
fi
fi