1 # When a user switches to the site user using "su <site>" instead
2 # of "su - <site>" the .profile is not loaded. This checks the
3 # situation and sources the .profile when it has not been executed
5 # The .profile file tries to execute the .bashrc script on it's
6 # own. This is needed in "su - <site>" mode. But must be prevented
7 # in the "su <site>" mode. So we define the variable BASHRC here
8 # and check it in .profile.
10 if [ -z $OMD_ROOT ]; then
14 alias cpan='cpan.wrapper'
16 # pointless unless running interactively
19 alias ls='ls --color=auto -F'
23 if [ -f /etc/bash_completion ]; then
24 . /etc/bash_completion