From 9f17bb0f3e2b336f62836dd89803df76545e8831 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 25 Jan 2019 16:56:06 -0600 Subject: [PATCH] .profile: Add Go configuration --- .profile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.profile b/.profile index b9ba0399..f864d148 100755 --- a/.profile +++ b/.profile @@ -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"