goenv
goenv copied to clipboard
goenv-commands: command not found
trafficstars
I followed the installation instructions and added this to my ~/.zshrc:
export GOENV_ROOT="$HOME/.goenv"
export PATH="$GOENV_ROOT/bin:$PATH"
eval "$(goenv init -)"
echo 'export PATH="$GOROOT/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="$PATH:$GOPATH/bin"' >> ~/.bash_profile
But when I start a new shell I get this:
/home/varac/.goenv/libexec/goenv-init: line 116: goenv-commands: command not found
/home/varac/.goenv/shims, /home/varac/.goenv/bin and /home/varac/go/bin are in my PATH.
How can I fix this ?