bash: add golang env
This commit is contained in:
parent
b3e1617742
commit
3b20d47039
|
@ -9,7 +9,7 @@ alias sc=screen
|
||||||
alias h=history
|
alias h=history
|
||||||
alias td='todo -c --force-colour --filter -done,+children | less -r'
|
alias td='todo -c --force-colour --filter -done,+children | less -r'
|
||||||
alias tdall='todo --force-colour -A|less -r'
|
alias tdall='todo --force-colour -A|less -r'
|
||||||
alias go=gnome-open
|
#alias go=gnome-open
|
||||||
alias pp='python -mjson.tool'
|
alias pp='python -mjson.tool'
|
||||||
alias cd='cd -P'
|
alias cd='cd -P'
|
||||||
alias tm=tmux
|
alias tm=tmux
|
||||||
|
|
6
.bashrc
6
.bashrc
|
@ -84,4 +84,10 @@ test -z "$TMUX" -a "$TERM" == "st-256color" && {
|
||||||
test -n "$(tmux ls 2>/dev/null)" && exec tmux attach || exec tmux
|
test -n "$(tmux ls 2>/dev/null)" && exec tmux attach || exec tmux
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# golang env
|
||||||
|
export PATH=$PATH:/home/patrick/src/golang/go1.11.2/bin
|
||||||
|
export GOPATH=/home/patrick/devel/golang
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# end .bashrc
|
# end .bashrc
|
||||||
|
|
Loading…
Reference in New Issue