X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/17edc92fa5aee872043d8cc5b22788f7606cd1c1..5ee0d5ec29f3265bca080b5afb49384c04379ba1:/files/bashrc diff --git a/files/bashrc b/files/bashrc index 1ea4a6b..9bd4847 100644 --- a/files/bashrc +++ b/files/bashrc @@ -137,8 +137,9 @@ export EDITOR=/usr/bin/vim export SYSTEMD_EDITOR=/usr/bin/vim # GoLang -export GOROOT=/home/edward/.go -export PATH=$GOROOT/bin:$PATH +GO_BINS="$HOME/go/bin" +[[ -d $GO_BINS ]] && export PATH=$GO_BINS:$PATH +export GOPROXY=direct # source $HOME/envs/invoke/bin/activate