# couple of environment settings to ensure sanity set +h umask 022 LC_ALL=POSIX ## PATH # The wrappers directory must be the first entry in the PATH. Once # you are no longer needing or using the tools dir you can remove it # from the PATH if you want, but leaving it there won't hurt PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/tools/bin ## A couple things to make less(1) nicer. LESS=-MRgisw LESSCHARSET=latin1 LESSOPEN='|lesspipe.sh %s' ## Timezone -- set to your local zone TZ='Australia/Brisbane' ## pkg-config PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig ### export everything export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_DIR # Make prompt reflect that we are a package user. export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "' # Suck in some handy shell functions . /etc/pkgusr/handy_funcs # If they exist, load any private settings. This comes last so that # we can override any system defaults if need be if [ -f ${HOME}/.pkgusrrc ]; then . ${HOME}/.pkgusrrc fi # Go to the home directory whenever we su to a package user. cd