2013-10-30 18:12:35 +01:00
|
|
|
# Default system-wide login shell profile.
|
|
|
|
|
|
|
|
# Activate emacs keybindings and command line history support
|
|
|
|
set -o emacs
|
2014-08-03 23:10:41 +02:00
|
|
|
set -o tabcomplete
|
2013-10-30 18:12:35 +01:00
|
|
|
|
|
|
|
# Set the default path
|
2014-03-15 20:46:01 +01:00
|
|
|
PATH=/usr/local/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/games
|
2013-10-30 18:12:35 +01:00
|
|
|
|
|
|
|
# Add ~/bin, iff it is present
|
|
|
|
if [ -e ${HOME}/bin ]; then
|
|
|
|
PATH=${HOME}/bin:${PATH}
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Add sbin for root
|
|
|
|
if [ "x$(id -u)" = "x0" ]; then
|
|
|
|
PATH=/usr/local/sbin:/usr/pkg/sbin:/usr/sbin:/sbin:${PATH}
|
|
|
|
|
|
|
|
if [ -e ${HOME}/sbin ]; then
|
|
|
|
PATH=${HOME}/sbin:${PATH}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Set the timezone
|
2005-08-09 18:58:28 +02:00
|
|
|
export TZ=GMT0
|
2013-10-30 18:12:35 +01:00
|
|
|
RC_TZ=/etc/rc.timezone
|
|
|
|
|
|
|
|
if [ -f ${RC_TZ} ]; then
|
|
|
|
. ${RC_TZ}
|
2005-08-09 18:58:28 +02:00
|
|
|
fi
|
2013-10-30 18:12:35 +01:00
|
|
|
|
|
|
|
export PATH TZ
|
|
|
|
|