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

Gemenviron.profile/exit vs. return #47

Open
alexrichert opened this issue Dec 23, 2019 · 1 comment
Open

Gemenviron.profile/exit vs. return #47

alexrichert opened this issue Dec 23, 2019 · 1 comment

Comments

@alexrichert
Copy link

Gemenviron.profile has a couple of conditions that result in 'exit'; when the file is sourced (as per compilation instructions), this has the effect of exiting the shell/terminal session entirely, not just the Gemenviron.profile file. Can these be converted to "return" statements so that only the sourcing is cancelled, but the parent shell is not exited?

@akrherz
Copy link
Collaborator

akrherz commented Feb 28, 2022

@alexrichert I agree :), but am unsure if there is a historical legacy as to why it behaves in this manner. Would you wish to prepare a PR to make this change?

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

2 participants