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