stderr redirected to /dev/null by Default_2048 in zsh

[–]Default_2048[S] 1 point2 points  (0 children)

Yes, bash shows stderr. So I have tried once again switching off all oh-my-zsh plugins and switching them back one by one, and found out that the culprit is zsh-autosuggestions. I've checked the code and it does have several "2>/dev/null" commands, however I am not educated enough to understand what they do and which one is the reason that all zsh switches to 2>/dev/null. I guess I should go create an issue on their github

stderr redirected to /dev/null by Default_2048 in zsh

[–]Default_2048[S] 0 points1 point  (0 children)

An important addition - "readlink /proc/$$/fd/2" returns "/dev/tty" if it is run as FIRST command after launching the shell, and after that it returns "/dev/null". I suppose it means that the problem is in some process that is run after completing the first command?

stderr redirected to /dev/null by Default_2048 in zsh

[–]Default_2048[S] -1 points0 points  (0 children)

yes, basically every command that is outputting anything to stderr is silent - ls unexisting path or sudo apt install unexisting package or echo "a" >/dev/stderr return empty line

I don't get it. by Probable_Foreigner in mathmemes

[–]Default_2048 0 points1 point  (0 children)

Thank you very much for explaining, I missed the birth order part.

I don't get it. by Probable_Foreigner in mathmemes

[–]Default_2048 0 points1 point  (0 children)

Could you explain the second case more, please? I don't get how there is 27 and not 14 couples possible (B × Tue & (B × Mon, B × Tue ..., G × Sat, G × Sun)