We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
z.sh prompts
_z_precmd:1: nice(5) failed: operation not permitted
everytime after pressing enter on "Bash for Windows", my shell is zsh
The text was updated successfully, but these errors were encountered:
By default, zsh tries to run background jobs at a lower priority, which Windows won't let it do. A good workaround is to put
zsh
case $(uname -a) in *Microsoft*) unsetopt BG_NICE ;; esac
in your .zshrc file. That alters zsh's default behavior and fixes the problem entirely, in my experience.
.zshrc
Sorry, something went wrong.
It works, thanks !!
If the upvoted response doesn't work for you, try putting
# Avoid background processes to not bother Windows unsetopt BG_NICE
# Avoid background processes to not bother Windows
unsetopt BG_NICE
in you .zshrc file.
No branches or pull requests
z.sh prompts
everytime after pressing enter on "Bash for Windows", my shell is zsh
The text was updated successfully, but these errors were encountered: