-
Notifications
You must be signed in to change notification settings - Fork 614
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
Doesn't work command with pipe in zsh #951
Comments
You don't give much information on your configuration but some zsh versions had a regression on pgrp. |
I have the similar issue, the command
instead of showing what is expected. |
The problem is linked with calls to setpgid / tcsetpgrp that were introduced by 71e8361. The command fails with zsh 5.7.1 (x86_64-apple-darwin15.6.0) and zsh 5.6 (x86_64-apple-darwin15.6.0), however it worked well with zsh 5.0.8 (x86_64-apple-darwin15.0) and zsh 5.5.1 (x86_64-apple-darwin15.6.0) and it also works with other shells like ksh, bash. So the cause is likely to be a regression in zsh introduced between zsh 5.5.1 and 5.6:
|
I quick way to install zsh 5.5.1 for those using homebrew:
Catalina isn't in the formula at this point. |
If you don't want to downgrade zsh, the workaround is to use parentheses: |
@koutcher @lwfitzgerald @2energycell alias tig=\(tig\)
|
The parenthesis trick isn't working for me, using zsh 5.8. Any other ideas to make it work? |
I have the same problem with zsh, but it's not related to tig:
|
When use tig command with pipe
|
in zsh, command stop every time.What's the problem?
The text was updated successfully, but these errors were encountered: