b946370ebfd380858abc2534f42443c049e06b4b
[dotfiles-public.git] / src / .bash_profile
1 # This file is sourced by bash for login shells.
2
3 # set PATH so it includes user's private bin if it exists
4 if [ -d ~/bin ]; then
5     PATH=~/bin:"${PATH}":/usr/sbin:/sbin
6 fi
7
8 # The following line runs your .bashrc and is recommended by the bash
9 # info pages.
10 [[ -f ~/.bashrc ]] && . ~/.bashrc
11
12 #exec screen -R # automatically attach to first detached session if it exists
13
14 # print my calendar if I've configured it
15 # http://bsdcalendar.sourceforge.net/  (Gentoo: app-misc/calendar)
16 CALENDAR=$(which calendar 2> /dev/null)
17 if [ -n "${CALENDAR}" ] && [ -f ~/.calendar/calendar ]; then
18     calendar
19 fi