-
Notifications
You must be signed in to change notification settings - Fork 1
/
bashrc
52 lines (37 loc) · 864 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
44
45
46
47
48
49
50
51
52
set -o vi
PS1="\u@\h:\w\n\$ "
export PS1
GOPATH=$HOME/go
export GOPATH
PATH="$HOME/bin:$HOME/.npm-global/bin:$GOPATH/bin:$PATH"
export PATH
HISTSIZE=5000
export HISTSIZE
if [ -x $HOME/bin/ec ]; then
VISUAL=$HOME/bin/ec
else
VISUAL=vi
fi
EDITOR=$VISUAL
export VISUAL EDITOR
GPG_TTY=$(tty)
export GPG_TTY
mesg n
ss() { ssh -X -t $@ "tmux attach || tmux || screen -xR || bash -l"; }
if [ "$(uname)" = 'Linux' ]; then
alias open=exo-open
alias m=mutt
fi
alias g=git
alias gs='git status'
alias d=docker
alias m=mvn
alias mc='mvn clean'
alias misft='mvn install -Dskip-functional-test'
alias light='GTK_THEME=adwaita'
alias k=kubectl
alias rc=". $HOME/.bashrc"
cat << END
1 2 3 4 5 6 7 8
12345678901234567890123456789012345678901234567890123456789012345678901234567890
END