-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc_cmslpc
31 lines (27 loc) · 1.15 KB
/
.bashrc_cmslpc
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
# .bashrc
# Source global definitions
#if [ -f /etc/bashrc ]; then
# . /etc/bashrc
#fi
# User specific aliases and functions
alias ssh="ssh -Y"
alias ls="ls -G --color"
alias l="ls -lrth"
alias rm="rm -i"
export HCHOSTNAME=$(echo $HOSTNAME | awk '{print substr($1, 0, 9) }')
PS1="\[\e[0;36m\]\u@${HCHOSTNAME}\[\e[m\] \[\e[0;37m\]\w\[\e[m\] \[\e[0;35m\]#\[\e[m\] \[\e[1;00m\]"
bind '"\eOP":"\e\C-e\C-i"'
alias s="~/search.sh"
alias pcp="source copyWithProgress.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 ssha="~/unabashed/ssha.sh"
alias tailall="~/unabashed/tailall.sh"
alias checksites="~/unabashed/checksites.sh"
alias eoscount="~/unabashed/eoscount.sh"
export _CONDOR_SCRATCH_DIR=${HOME}/dangerzone
alias jenv6='source /cvmfs/cms.cern.ch/cmsset_default.sh; pushd ~/CMSSW_10_2_22/src; cmsenv; popd'
alias jenv7='source /cvmfs/cms.cern.ch/cmsset_default.sh; pushd /home/jhakala/cmssw7/CMSSW_10_2_22/src; cmsenv; popd'
source ~/git-completion.bash