.profile: Only add GOPATH to PATH once
This commit is contained in:
parent
fd45004134
commit
9bae092872
2
.profile
2
.profile
@ -85,7 +85,7 @@ fi
|
||||
# Set up go, if we have it
|
||||
if command -v go > /dev/null 2>&1; then
|
||||
export GOPATH="$HOME/.local/go"
|
||||
export PATH="$PATH:$GOPATH/bin"
|
||||
[ "${PATH#*$GOPATH}" = "$PATH" ] && export PATH="$PATH:$GOPATH/bin"
|
||||
fi
|
||||
|
||||
# Grab dircolors, if it exists
|
||||
|
Reference in New Issue
Block a user