my-yadm/.local/dotfiles/environment/goenv.zsh

5 lines
84 B
Bash

if go env GOPATH &>/dev/null; then
export PATH="${PATH}:$(go env GOPATH)/bin"
fi