From e1ff8282630bb0dc6acc1b92b027b6562ef3afee Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sat, 9 Oct 2021 10:41:57 +0200 Subject: [PATCH] [ZSH] Add Go Stuff --- shells/zshrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/shells/zshrc b/shells/zshrc index 1845e75..5f6449c 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -169,3 +169,18 @@ then export DISPLAY=$(ip route | awk '{print $3; exit}'):0 export LIBGL_ALWAYS_INDIRECT=1 fi + +################ +### GO STUFF ### +################ + +if [[ -d "/usr/local/go/bin" ]] +then + export PATH="/usr/local/go/bin:$PATH" +fi + +if [[ -d "/home/$USER/projects/go/bin" ]] +then + export PATH="/home/$USER/projects/go/bin:$PATH" +fi +