add gopath/bin to PATH via zshrc

This commit is contained in:
Philip Henning 2024-03-11 13:17:57 +01:00
parent 59d47138ff
commit de0cccad03

View file

@ -186,6 +186,9 @@ if [ -f "{{@@ env['HOME'] @@}}/.local/bin/pipx" ]; then
eval "$(register-python-argcomplete pipx)" eval "$(register-python-argcomplete pipx)"
fi fi
# Include $(go env GOPATH) to PATH
[[ $(command -v go) ]] && [[ -d "$(go env GOPATH)/bin" ]] && export PATH="$(go env GOPATH)/bin:${PATH}"
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%} {%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
# Decide which homebrew installation (x64_86 / arm64) should be used # Decide which homebrew installation (x64_86 / arm64) should be used
if [ "$(sysctl -n sysctl.proc_translated)" = "1" ]; then if [ "$(sysctl -n sysctl.proc_translated)" = "1" ]; then