From 8e6e81bce6a823ddddcc83b797d33c3803956cf7 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Tue, 28 Jul 2020 17:43:23 +0800 Subject: [PATCH] Update zsh env: go path --- zsh/env.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/env.zsh b/zsh/env.zsh index 968ce23..bd1194a 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -106,3 +106,8 @@ if [[ -d $HOME/dotnet ]]; then export DOTNET_ROOT=$HOME/dotnet export PATH=$PATH:$DOTNET_ROOT fi + +if [[ -d $HOME/go ]]; then + export GOPATH=$HOME/go + export PATH="$PATH:$GOPATH/bin" +fi