Terminal rendered dummy with noclobber set
jeevatattva opened this issue · comments
Describe the bug
I using zimfw
, which has NOCLOBBER
set. After installation, when restart shell, I get a warning,
async_start_worker:38: can't clobber parameter errfd containing file descriptor 0
Thereafter, unable to use the terminal with various editors.
OS: macOS Catalina 10.15.7
ZSH_VERSION: 5.7.1
ZIMFW: 1.4.3
To Reproduce
Steps to reproduce the behavior:
set -o noclobber
in.zshrc
- start/restart shell
mg <file>
, editor I use.
panic: standard input and output must be a terminal
Expected behavior
I should be able to edit the file.
Solution
Update zsh-async
, the fix is present in mafredri/zsh-async@c7f35ec
Hey @jeevatattva !
Thank you so much for opening this issue and suggesting a solution
I opened a PR #116 in which I upgraded async.zsh to 1.8.5. Would you test that on your machine to make sure it works?
If you're not sure how to install locally the PR's version, an easy way to do it is with npm
:
- Clone the repository
- Checkout the
build/update-async-zsh
branch - Run
npm install -g .
- Restart terminal
Removed the theme, installed through zim
, followed your instructions to set it up again. Now, after restarting the terminal, it is fully functional.
Awesome @jeevatattva thank you for your help 🎉
@all-contributors please add @jeevatattva for bug and idea
I've put up a pull request to add @jeevatattva! 🎉