-
Notifications
You must be signed in to change notification settings - Fork 54
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
[question] g compared to goenv #3
Comments
Hey @omares, I actually didn't know about it. It looked to me like a good alternative and gave it a try. I'm going to add the key points to the readme but going to leave an extended comparison here for future reference. So the approaches are different,
What I don't like about
One thing you might miss from go() {
if [[ -f ".go-version" ]]; then
local version=$(cat .go-version)
if g run "$version" version > /dev/null; then
g run "$version" "$@"
else
g install "$version" && g run "$version" "$@"
fi
else
command go "$@"
fi
}
Right now, I might also consider having the install script to optionally setup this alias in known shells. Overall, I think |
Going to close this issue but feel free to continue the thread. |
- Add support for listing and installing unstable versions - Prevent bugs in config files without final newline - Ensure the modified PATH is exported on bash and zsh - Prevent multiple selection of the same shell in g-install - Improve the --quiet modifier - Normalize messages styles and wording - Support double-dash to signal end-of-params - Tweak README file - Offer to install latest go version after installing g - Install requested version when `g run` cannot find it. See #3 - Warn about installing on a non-default path. See #5 - Add goenv to the alternatives list on README - Add instructions for removal on README - Make the detection of previously installed g stricter
- Add support for listing and installing unstable versions - Prevent bugs in config files without final newline - Ensure the modified PATH is exported on bash and zsh - Prevent multiple selection of the same shell in g-install - Improve the --quiet modifier - Normalize messages styles and wording - Support double-dash to signal end-of-params - Tweak README file - Offer to install latest go version after installing g - Install requested version when `g run` cannot find it. See #3 - Warn about installing on a non-default path. See #5 - Add goenv to the alternatives list on README - Add instructions for removal on README - Make the detection of previously installed g stricter
Hey there,
you are listing various g alternatives but you are missing
goenv
. Do you mind adding it?Best
The text was updated successfully, but these errors were encountered: