# 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
prep_git
fi
+# Bash Completion
+if [ -f /usr/share/bash-completion/bash_completion ]; then
+ . /usr/share/bash-completion/bash_completion
+fi
+
+# 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
+
+###
+# Don't put anything below here unless it relies on something being
+# set in ~/.pkgusrrc
+###
+
# Maybe check if the build script can be updated, but not on dumb
# terms so that TRAMP still works.
if [ ${CHECKUPDATES} -eq 1 -a "$TERM" != "dumb" ]; then