Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goenv-commands: command not found #246

Open
varac opened this issue Sep 20, 2022 · 0 comments
Open

goenv-commands: command not found #246

varac opened this issue Sep 20, 2022 · 0 comments

Comments

@varac
Copy link

varac commented Sep 20, 2022

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant