-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
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
It breaks xsel
expansion
#13
Comments
The problem is that xsel(1) itself is emitting the error when this plugin is loaded, not that this plugin somehow breaks TAB completion on backticks: $ xsel
fstat error on stdin: Bad file descriptor |
Nope, I was wrong, but I found the actual problem this time: the _zsh_highlight_bind_widgets() function is rebinding all ZLE widgets to make them invoke _zsh_highlight(). During this process, it somehow breaks backticks expansion. |
That function, which was copied directly from the zsh-syntax-highlighting plugin, has not changed since. So this bug should also exist in the zsh-syntax-highlighting plugin! |
I was correct; the bug also exists in (and originates from) the zsh-syntax-highlighting plugin:
|
Adding @nicoulaj to comment. |
I'm not able to reproduce this issue anymore (
Please re-open this issue if you're still able to reproduce this problem. 👮 |
When pressing Tab,
command
will expand.xsel
wants to fstat on stdin, and this script breaks that.See this superuser question for details.
The text was updated successfully, but these errors were encountered: