-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zsh] emulate -L zsh to avoid issues with incompatible options
Close #858
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 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
3a6af27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for the feedback. Can you post a minimal zshrc (preferably without oh-my-zsh, prezto, etc) that I can use to reproduce the problem you describe? Also if you have a more conservative solution to #858 than this, please let me know.
3a6af27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should just
setopt localoptions noallexport noposixbuiltins
instead ofemulate -L zsh
?/cc @pjcj
3a6af27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix pushed to master. Please update and see if it works.
3a6af27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a shame the emulate -L zsh solution doesn't work in this case because, I suspect, we will need to reset further options as they are found to cause problems, but I don't see another solution.