.profile: Add Go configuration

This commit is contained in:
Salt 2019-01-25 16:56:06 -06:00
parent af9997d200
commit 9f17bb0f3e

View File

@ -82,6 +82,12 @@ if command -v pip > /dev/null 2>&1; then
esac
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"
fi
# Grab dircolors, if it exists
if command -v dircolors > /dev/null 2>&1; then
dircolorsfile="$HOME/.config/dircolors"