X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/17dcdb938f427966cf8c0f0827417a98fca001d1..36a06a2ee06284bb2d15a9e87f8ad19517af1027:/files/bashrc diff --git a/files/bashrc b/files/bashrc index e2c3f84..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 @@ -148,5 +149,5 @@ export PATH=$GOROOT/bin:$PATH [[ -d $HOME/src/down-shift/bin ]] && export PATH="$HOME/src/down-shift/bin:$PATH" [[ ! -f $HOME/.env ]] && $HOME/envs/invoke/bin/invoke --print-completion-script bash > ~/.invoke-complete.sh -alias invoke='source $HOME/envs/invoke/bin/activate' +alias in='source $HOME/envs/invoke/bin/activate' source $HOME/.invoke-complete.sh