minix/etc/profile
Lionel Sambuc 86b0b2ca84 Adding /usr/X11R7 to PATH
Change-Id: Ifac54e59715f48bdfa4ab0a77d656d11f7289a2e
2014-11-10 14:43:29 +01:00

37 lines
722 B
Bash
Executable file

# Default system-wide login shell profile.
# Activate emacs keybindings and command line history support
set -o emacs
set -o tabcomplete
# Set the default path
PATH=/usr/X11R7/bin:/usr/local/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/games
# 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/X11R7/sbin:/usr/local/sbin:/usr/pkg/sbin:/usr/sbin:/sbin:${PATH}
if [ -e ${HOME}/sbin ]; then
PATH=${HOME}/sbin:${PATH}
fi
fi
# Set library path
export LD_LIBRARY_PATH="/usr/local/lib:/usr/pkg/lib:/usr/lib:/lib"
# Set the timezone
export TZ=GMT0
RC_TZ=/etc/rc.timezone
if [ -f ${RC_TZ} ]; then
. ${RC_TZ}
fi
export PATH TZ