2 # couple of environment settings to ensure sanity
8 # The wrappers directory must be the first entry in the PATH.
10 # Once you are no longer needing or using the tools dir you can remove it
11 # from the PATH if you want, but leaving it there won't hurt.
12 #PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/opt/qt/bin:/tools/bin
13 PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/opt/qt/bin
15 ## A couple things to make less(1) nicer.
18 LESSOPEN='|lesspipe.sh %s'
20 ## Timezone -- set to your local zone
21 TZ='Australia/Brisbane'
27 _XORG=/usr/X11R6/lib/pkgconfig:/usr/X11R6/share/pkgconfig
28 _KDE=/opt/kde/lib/pkgconfig:/opt/kde/share/pkgconfig
29 _QT=${QTDIR}/lib/pkgconfig
30 _PKGCFG=$(pkg-config --variable pc_path pkg-config)
31 PKG_CONFIG_PATH=${_PKGCFG}:${_XORG}:${_KDE}:${_QT}
34 unset _XORG _KDE _QT _PKGCFG
36 ## Locale directory suppression.
37 # If this is set to `1' (one) then the install and mkdir wrappers
38 # won't put anything in /usr/share/locale. Technically, the mkdir
39 # wrapper still creates the dir, but it is removed afterward. If
40 # you want to override this behaviour globally, set this to `0'
41 # (zero) here, or you can override an individual package by adding
42 # `SUPPRESSLOCALEDIR=0' to that pkgusr's ~/.pkgusrrc.
44 # See the comments in the install wrapper for more detail and
49 export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
50 export SUPPRESSLOCALEDIR
52 # Make prompt reflect that we are a package user.
53 export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "'
55 # Suck in some handy shell functions
56 . /etc/pkgusr/handy_funcs
58 # If they exist, load any private settings. This comes last so that
59 # we can override any system defaults if need be
60 if [ -f ${HOME}/.pkgusrrc ]; then
64 # Go to the home directory whenever we su to a package user.