dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit cef9414d1303cf1809d33cef1c147e13deddea39
parent b1afabb38b9367994ae890e174e393403582b998
Author: Chris Bracken <chris@bracken.jp>
Date:   Sat, 20 Oct 2012 23:11:32 -0700

Show fortune message on login, if available

Diffstat:
M.profile | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/.profile b/.profile @@ -24,3 +24,9 @@ fi [ -d /opt/local/sbin ] && PATH="/opt/local/sbin:$PATH" [ -d /opt/local/bin ] && PATH="/opt/local/bin:$PATH" [ -d /opt/local/libexec/gnubin ] && PATH="/opt/local/libexec/gnubin:$PATH" + +# login message +if [ -x `which fortune` ]; then + fortune + echo "" +fi