X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/17dcdb938f427966cf8c0f0827417a98fca001d1..90653b13bfc7a4f9be2b16d07bee3e398390aae3:/files/bashrc diff --git a/files/bashrc b/files/bashrc index e2c3f84..9699a90 100644 --- a/files/bashrc +++ b/files/bashrc @@ -138,7 +138,8 @@ export SYSTEMD_EDITOR=/usr/bin/vim # GoLang export GOROOT=/home/edward/.go -export PATH=$GOROOT/bin:$PATH +[[ -d $GOROOT ]] && export PATH=$GOROOT/bin:$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