X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/17dcdb938f427966cf8c0f0827417a98fca001d1..a5e2181429053d8f82a38208f6cbb5c6afe0a39a:/files/bashrc diff --git a/files/bashrc b/files/bashrc index e2c3f84..f42756d 100644 --- a/files/bashrc +++ b/files/bashrc @@ -138,7 +138,9 @@ export SYSTEMD_EDITOR=/usr/bin/vim # GoLang export GOROOT=/home/edward/.go -export PATH=$GOROOT/bin:$PATH +[[ -d $GOROOT ]] && export PATH=$GOROOT/bin:$PATH +unset GOROOT +export GOPROXY=direct # source $HOME/envs/invoke/bin/activate @@ -148,5 +150,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