-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile_exp
50 lines (40 loc) · 1.21 KB
/
.bash_profile_exp
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
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export HISTSIZE=5000
export HISTCONTROL='ignoreups'
export HISTIGNORE="&" #do not save duplicate consecutive commands
export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n$ '
alias rm="rm -i "
alias mv="mv -i "
alias date="date '+%F %H:%M:%S %A Week %V'"
alias grep="grep --color=auto"
alias du="du -h "
alias df="df -h "
alias lsd="ls -d */"
alias ssh="ssh -Y"
alias d='dirs -v'
alias r='pushd +1'
alias d0='pushd +0 > /dev/null ; dirs -v'
alias d1='pushd +1 > /dev/null ; dirs -v'
alias d2='pushd +2 > /dev/null ; dirs -v'
alias d3='pushd +3 > /dev/null ; dirs -v'
alias d4='pushd +4 > /dev/null ; dirs -v'
alias d5='pushd +5 > /dev/null ; dirs -v'
alias d6='pushd +6 > /dev/null ; dirs -v'
alias d7='pushd +7 > /dev/null ; dirs -v'
alias d8='pushd +8 > /dev/null ; dirs -v'
alias d9='pushd +9 > /dev/null ; dirs -v'
alias ls="ls --color "
# whoami=`whoami`
# if [ ! $whoami == "root" ];then
# eval `keychain --eval id_rsa_ext`
# fi
my_squeue(){
squeue --format="%.18i %.9P %.50j %.8u %.8T %.10M %.9l %.6D %R"
}
export PATH