Skip to content

fix(envtools): replace exit with return to allow tmux to work - #573

Merged
aversini merged 1 commit into
mainfrom
fix(envtools)-replace-exit-with-return-to-allow-tmux-to-work
Jun 22, 2026
Merged

aversini merged 1 commit into
mainfrom
fix(envtools)-replace-exit-with-return-to-allow-tmux-to-work

Conversation

@aversini

Copy link
Copy Markdown
Collaborator

Replace exit 0 with return 0 to avoid terminating the parent shell when this script is sourced. The script is meant to be loaded (not executed) during environment setup, so returning ensures callers (e.g. interactive shells or editors) continue running while still skipping further initialization under the same conditions.

Replace exit 0 with return 0 to avoid terminating the parent shell when this script is sourced. The script is meant to be loaded (not executed) during environment setup, so returning ensures callers (e.g. interactive shells or editors) continue running while still skipping further initialization under the same conditions.
@aversini
aversini merged commit 2d4c395 into main Jun 22, 2026
4 checks passed
@aversini
aversini deleted the fix(envtools)-replace-exit-with-return-to-allow-tmux-to-work branch June 22, 2026 16:14
@aversini aversini mentioned this pull request Jun 22, 2026
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.

1 participant