Removed hardcoded GOPATH
This commit is contained in:
parent
6ba2a64393
commit
712a510a8e
3
.bashrc
3
.bashrc
@ -4,7 +4,7 @@ export HISTFILESIZE=-1
|
|||||||
|
|
||||||
test -s ~/.alias && . ~/.alias || true
|
test -s ~/.alias && . ~/.alias || true
|
||||||
export PATH=~/.local/bin:"$PATH"
|
export PATH=~/.local/bin:"$PATH"
|
||||||
[[ -d ~/go/bin ]] && export PATH="$PATH":$HOME/go/bin
|
type go >/dev/null 2>&1 && export GOPATH=$(go env GOPATH) && export PATH="$PATH":$GOPATH/bin
|
||||||
|
|
||||||
# needed for pw function and gnupg.vim
|
# needed for pw function and gnupg.vim
|
||||||
GPG_TTY=$(tty)
|
GPG_TTY=$(tty)
|
||||||
@ -25,7 +25,6 @@ fi
|
|||||||
# Go Bullet Train settings
|
# Go Bullet Train settings
|
||||||
[[ -f "$HOME/go/bin/gbt" ]] && [[ -f "$HOME/.gbt.sh" ]] && source "$HOME/.gbt.sh"
|
[[ -f "$HOME/go/bin/gbt" ]] && [[ -f "$HOME/.gbt.sh" ]] && source "$HOME/.gbt.sh"
|
||||||
|
|
||||||
type go >/dev/null 2>&1 && export GOPATH=$(go env GOPATH)
|
|
||||||
|
|
||||||
[[ -f "$HOME/.functions.sh" ]] && source ~/.functions.sh
|
[[ -f "$HOME/.functions.sh" ]] && source ~/.functions.sh
|
||||||
[[ -f "$HOME/Develop/sps/completion.sh" ]] && source ~/Develop/sps/completion.sh
|
[[ -f "$HOME/Develop/sps/completion.sh" ]] && source ~/Develop/sps/completion.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user