-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdogwood.bashrc
82 lines (70 loc) · 2.11 KB
/
dogwood.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# @(#).bashrc 2019.04.14
################################################################################
## Source global definitions: The next line must be the first non-commented line.
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#if [ -z "$PS1" ]; then return; fi
export HISTSIZE=100000
export HISTFILESIZE=100000
# User specific aliases and functions
# Set path shell variable
PATH=$PATH:./:$HOME/bin:/usr/sbin:/sbin:/u/Shun.Liu/bin:/opt/pbs/bin
export PATH
TERM=xterm
#hostname > host
#pro=`cut -c 1-8 host`
#PS1="Dogwood ${pro} > "
#PS1="\u@\e[31m\W>\e[m"
PS1="\e[31m\W>\e[m"
#
# wcoss2 aliases
#
export GIT_SSH=$HOME/ssh-gerrit
alias ls='ls --color'
alias cp='cp -p'
alias lsm='ls --color -l --block-size=M'
alias clean='rm *~'
alias h='history'
alias a2ps='a2ps -Pemc-p-cmp7c -M Letter -S2'
alias pd='pushd'
alias bd='popd'
alias d='display'
alias loadjedi='source ~/bin/load.sh'
alias loadp='source ~/bin/loadp.sh'
alias xtermt='xterm -bg SlateGray1 &'
alias xterms='xterm -bg Gray &'
alias xtermj='xterm -bg khaki2 &'
alias qq='qstat -u $USER'
alias llq='qstat -u $USER'
alias llqa='qstat'
alias sor='source ~/.bashrc'
alias xtermg='xterm -bg LavenderBlush1 -fa 'Monospace' -fs 14 &'
alias vicron='crontab -e'
alias vibash='vi ~/.bashrc'
alias lpath='cat ~/bin/filepath'
alias vipath='vi ~/bin/filepath'
alias vilink='vi ~/bin/mylink'
alias sorlink='source ~/bin/mylink'
alias campara='sudo -u emc.campara -i'
source ~/bin/mylink
export dptmp=/lfs/h2/emc/ptmp/Shun.Liu
alias ptmp='cd /lfs/h2/emc/ptmp/Shun.Liu'
alias stmp='cd /lfs/h2/emc/stmp/Shun.Liu'
alias nbns='cd /lfs/h2/emc/da/noscrub/Shun.Liu'
alias save='cd /lfs/h2/emc/da/save/Shun.Liu'
export dnwprod=/lfs/h1/ops/prod
alias nwprod='cd /lfs/h1/ops/prod'
#alias output='cd /lfs/h1/ops/canned/output/dell1/gpfs/dell1/nco/ops/com/output/prod/20210824'
#module load envvar/1.0
#module load PrgEnv-intel/8.1.0
#module load intel/19.1.3.304
#module load craype
#module load cray-mpich
#module load grib_util/1.2.2
#module load prod_util/2.0.5
#module load prod_envir/2.0.4
#module load libjpeg/9c
#module load wgrib2/2.0.8_wmo
#module load cray-python
#module load git/2.29.0