summaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index 31aab5c..c04a8b3 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -67,6 +67,15 @@ if command -v pyenv 1>/dev/null 2>&1; then
export PATH="$HOME/.local/bin:$PATH"
fi
+# ==== GO config
+if [ -d $HOME/.goenv ]; then
+ export GOENV_ROOT="$HOME/.goenv"
+ export PATH="$GOENV_ROOT/bin:$PATH"
+ eval "$(goenv init -)"
+ export PATH="$GOROOT/bin:$PATH"
+ export PATH="$PATH:$GOPATH/bin"
+fi
+
# ==== Rust config
if [ -f $HOME/.cargo/env ]; then
source "$HOME/.cargo/env"