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-05-06 11:14:14 +02:00
|
|
|
PATH=/usr/X11R7/bin:/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
|
2014-05-06 11:14:14 +02:00
|
|
|
PATH=/usr/X11R7/sbin:/usr/local/sbin:/usr/pkg/sbin:/usr/sbin:/sbin:${PATH}
|
2013-10-30 18:12:35 +01:00
|
|
|
|
|
|
|
if [ -e ${HOME}/sbin ]; then
|
|
|
|
PATH=${HOME}/sbin:${PATH}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2014-09-04 15:37:27 +02:00
|
|
|
# Set library path
|
2014-10-07 23:00:33 +02:00
|
|
|
export LD_LIBRARY_PATH="/usr/local/lib:/usr/pkg/lib:/usr/X11R7/lib:/usr/lib:/lib"
|
2014-09-04 15:37:27 +02:00
|
|
|
|
2013-10-30 18:12:35 +01:00
|
|
|
# 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
|
|
|
|
|