-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not cancel shell init on mcfly init failure
The shell initialiation codes contain "return 1" at the top level. However, this causes the cancellation of the entire shell initialization because those codes are supposed to be evaluated as e.g. `eval "$(mcfly init bash)"`. The invocation of `return` in the eval'ed string takes an effect in the caller context of `eval`.
- Loading branch information
1 parent
cdd00e0
commit 6e064f0
Showing
2 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters