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
stdin broken with fish shell #1237
Comments
I was just about to open an issue for the same problem. Simply adding this to my $(read -p "Enter text: " text) No keystrokes will appear and enter does nothing. I can ctrl-C out of it though. I tried also on bash, zsh, an nushell and they were able to read input correctly. |
Ah. This has been a problem for quite some time I see #967 |
Does anyone know a workaround for this? |
I posted a lengthy description of a workaround here: |
thank you :) |
The stdin integration when using the fish shell is broken. Any command that runs from
.envrc
and requests input from the user seems to hang direnv. I came across this trying to useaws-vault ...
and needing to put in an MFA code. But I have reproduced it with a simpleread
command.Here is a docker setup to demonstrate the problem: https://github.com/rsyring/fish-direnv-stdin-bug
The same setup with bash runs just fine:
The text was updated successfully, but these errors were encountered: