summaryrefslogtreecommitdiff
path: root/config/root-.bashrc
blob: 3973e6926baade6f922feff866df999b7abf3cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Execute the user's rootrc file if it exists instead of this one.

case "$USER" in
  "" | root)
    UHOME="";;
  *)
    UHOME="`eval echo ~$USER`";;
esac

if [ "$UHOME" -a -r "$UHOME/.root_bashrc" ]; then
  . "$UHOME/.root_bashrc"
else
  # define some handy aliases
  alias j jobs -l
  alias c clear
  alias z suspend
  alias d dirs
fi