1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # go.zprofile: Setup Go environment.
4 # Make sure that "go(1)" is installed
5 (( $+commands[go] )) || return
7 # Try to detect existing GOPATH directory ...
8 if [[ -z "$GOPATH" ]]; then
9 for gopath in $HOME/.go $HOME/go; do
10 if [[ -d "$gopath" ]]; then
18 # Make sure a GOPATH directory exists:
19 if [[ -z "$GOPATH" ]]; then