bashctrl/plugins/fortune

5 lines
119 B
Plaintext
Raw Normal View History

#!/bin/bash
if [[ $BASH_LOGIN == 1 ]] || [[ $BASH_PROFILE == 1 ]] ;then
[ -f ~/.greet ] && cat ~/.greet || fortune
fi