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