-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
43 lines (34 loc) · 896 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# .bashrc
#export SEYMOUR_HOME=/gscmnt/pacbio/production/smrtanalysis
#. $SEYMOUR_HOME/etc/setup.sh
# source global definitions
if [ -f /etc/bashrc ]; then # redhat
. /etc/bashrc
elif [ -f /etc/bash.bashrc ]; then # debian
. /etc/bash.bashrc
fi
# source the gapp bashrc
if [ -f /gapp/noarch/share/login/gapp.bashrc ]; then
. /gapp/noarch/share/login/gapp.bashrc
fi
# source alias file
if [ -f ~/.bash_alias ]; then
. ~/.bash_alias
fi
# Set prompt to emulate tcsh default
#PS1="\u@\h:\w \!>"
#export MYGPGKEY=2F9338CB
# Personal
#source ~/.bashss
#[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc
function load_dir {
LOAD_DIR=${1}
if [ -d $LOAD_DIR -a -r $LOAD_DIR -a -x $LOAD_DIR ]; then
for i in $LOAD_DIR/*.sh; do
source $i
done
fi
unset i
}
shopt -q login_shell && \
load_dir ${HOME}/bashrc.d