+# -*- shell-script -*-
# couple of environment settings to ensure sanity
set +h
umask 022
## A couple things to make less(1) nicer.
LESS=-MRgisw
-LESSCHARSET=latin1
+LESSCHARSET=utf-8
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
+## pkg-config
+_XORG=/usr/X11R6/lib/pkgconfig:/usr/X11R6/share/pkgconfig
+_KDE=/opt/kde/lib/pkgconfig:/opt/kde/share/pkgconfig
+_QT=${QTDIR}/lib/pkgconfig
+_PKGCFG=$(pkg-config --variable pc_path pkg-config)
+PKG_CONFIG_PATH=${_PKGCFG}:${_XORG}:${_KDE}:${_QT}
+
+# unset the tmp vars
+unset _XORG _KDE _QT _PKGCFG
+
+## Locale directory suppression.
+# If this is set to `1' (one) then the install and mkdir wrappers
+# won't put anything in /usr/share/locale. Technically, the mkdir
+# wrapper still creates the dir, but it is removed afterward. If
+# you want to override this behaviour globally, set this to `0'
+# (zero) here, or you can override an individual package by adding
+# `SUPPRESSLOCALEDIR=0' to that pkgusr's ~/.pkgusrrc.
+#
+# See the comments in the install wrapper for more detail and
+# rationale.
+SUPPRESSLOCALEDIR=1
+
### export everything
export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
-
+export SUPPRESSLOCALDIR
# Make prompt reflect that we are a package user.
export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "'
# 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
+ . ${HOME}/.pkgusrrc
fi
# Go to the home directory whenever we su to a package user.
cd
+
+# Local variables:
+# sh-basic-offset: 4
+# End: