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

Follow up of PR #56 #63

Merged
merged 3 commits into from
Jan 1, 2019
Merged

Follow up of PR #56 #63

merged 3 commits into from
Jan 1, 2019

Conversation

syndbg
Copy link
Member

@syndbg syndbg commented Jan 1, 2019

Since #62 is now merged, #56 is no longer blocked.

I've made some small modifications.

Modify `goenv shell` when no `GOENV_SHELL`

* Return exit status 1
* Refer to README.md
* Refer to immediate help via `goenv help init`
adec84f

Also added a test for this case.

Bjorn248 and others added 3 commits January 1, 2019 07:37
* added check for non-eval'd shell if `goenv shell` was used
* Return exit status 1
* Refer to README.md
* Refer to immediate help via `goenv help init`
@syndbg
Copy link
Member Author

syndbg commented Jan 1, 2019

Tests pass in Travis. Merging and releasing alongside goenv 2.0.0beta1

@syndbg syndbg merged commit 7fea6fa into master Jan 1, 2019
@syndbg syndbg deleted the follow-up-pr-56 branch January 1, 2019 18:25
syndbg added a commit that referenced this pull request Jan 1, 2019
This was referenced Jan 1, 2019
echo "or run 'goenv help init' for more information"
exit 1
fi

command_path="$(command -v "goenv-$command" || true)"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for going back to this old issue. I'm a bit confused. Shouldn't here be goenv-sh-$command? I don't see a goenv-shell under libexec, but only goenv-sh-shell.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry never mind, I did not do eval "$(goenv init -)" properly so goenv did not end up with a shell function.

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

Successfully merging this pull request may close these issues.

3 participants