You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/zsh
foo() { cat <(cat "$@"); }; foo <(echo bar);
cat: /proc/self/fd/11: No such file or directory
This is a bug from zsh ([BUG] process substitution breaks when nested or traverses a function) that has been fixed in version 5.5
HOWEVER, when running that in a zsh shell that uses oh-my-zsh, the bug is still there!
I tried disabling all plugins and the problem persists.
I don't expect you guys to be able to fix this, but please try to give me some insight on what is exactly is triggering this behaviour, because the zsh guys don't have enough info to work on this. So if we can narrow it down to something like, "autoloading a function that does x and y and uses this modules leaves zsh unable to do proper process substitution", will be a lot of help.
Thanks in advance
The text was updated successfully, but these errors were encountered:
#!/bin/bash
foo() { cat <(cat "$@"); }; foo <(echo bar);
bar
#!/bin/zsh
foo() { cat <(cat "$@"); }; foo <(echo bar);
cat: /proc/self/fd/11: No such file or directory
This is a bug from zsh ([BUG] process substitution breaks when nested or traverses a function) that has been fixed in version 5.5
HOWEVER, when running that in a zsh shell that uses oh-my-zsh, the bug is still there!
I tried disabling all plugins and the problem persists.
I don't expect you guys to be able to fix this, but please try to give me some insight on what is exactly is triggering this behaviour, because the zsh guys don't have enough info to work on this. So if we can narrow it down to something like, "autoloading a function that does x and y and uses this modules leaves zsh unable to do proper process substitution", will be a lot of help.
Thanks in advance
The text was updated successfully, but these errors were encountered: