check_oracle_health: update to 1.9
[omd.git] / packages / omd / skel / .bashrc
blobab0e03dd7b79e07e9e2834b49e3b82986754961b
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
4 # yet.
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.
9 BASHRC=1
10 if [ -z $OMD_ROOT ]; then
11     . ~/.profile
12     cd ~
14 alias cpan='cpan.wrapper'
16 # pointless unless running interactively
17 if [ "$PS1" ]; then
18   PS1='OMD[\u]:\w$ '
19   alias ls='ls --color=auto -F'
20   alias ll='ls -l'
21   alias la='ls -la'
23   if [ -f /etc/bash_completion ]; then
24     . /etc/bash_completion
25   fi