# 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:/opt/qt/bin:/tools/bin PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/opt/qt/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=$(pkg-config --variable pc_path pkg-config):/usr/X11R6/lib/pkgconfig:/usr/X11R6/share/pkgconfig PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/qt/lib/pkgconfig ## QT QTDIR=/opt/qt ### export everything export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR # 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