-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc_lxplus
22 lines (20 loc) · 892 Bytes
/
.bashrc_lxplus
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
alias ssh="ssh -Y"
alias l="ls -lrth --color=auto"
alias rm="rm -I"
export HCHOSTNAME=$(echo $HOSTNAME | awk '{print substr($1, 0, 10) }' | sed 's/\.//g')
PS1="\[\e[0;36m\]\u@${HCHOSTNAME}\[\e[m\] \[\e[0;37m\]\w\[\e[m\] \[\e[0;35m\]#\[\e[m\] \[\e[1;00m\]"
alias s="~/search.sh"
alias pcp="source ~/copyWithProgress.sh"
alias pmv="source ~/moveWithProgress.sh"
alias fpcp="source ~/forceCopyWithProgress.sh"
alias bhsetup="source bhSetup.sh /afs/cern.ch/user/j/johakala/work/public/CMSSW_7_4_14/src"
alias bsuball_8nh="for i in `ls -1`; do bsub -q 8nh $i; done"
alias bsuball_1nh="for i in `ls -1`; do bsub -q 1nh $i; done"
alias setupTDR="source ~/setupTDR.sh"
alias goToWZgammaMacros="cd ~/work/public/CMSSW_7_4_16_patch1/src; cmsenv; cd ~/work/public/WZgammaMacros"