[ZSH] Add Go Stuff

This commit is contained in:
Marcel Kapfer 2021-10-09 10:41:57 +02:00
parent 0b530f0b8c
commit e1ff828263
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -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