We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Every now and then I get the following issue after pressing return on entering a new command:
bash: read: read error: 0: Invalid argument
I'm guessing that this bit of code is causing the issue:
__bp_in_prompt_command() { local prompt_command_array IFS=';' read -ra prompt_command_array <<< "$PROMPT_COMMAND"
I have changed the read part to be this:
IFS=';' read -ra prompt_command_array 2>/dev/null <<< "$PROMPT_COMMAND"
and that seems to have squished the message for now. I'll keep an eye on things to see how it goes.
Thanks,
Rich
The text was updated successfully, but these errors were encountered:
@richard-scott would love a PR if you think this solves the issue. Feel free to open!
Sorry, something went wrong.
Closing this due to inactivity. @richard-scott feel free to reopen if you think this is still an issue.
No branches or pull requests
Hi,
Every now and then I get the following issue after pressing return on entering a new command:
I'm guessing that this bit of code is causing the issue:
I have changed the read part to be this:
and that seems to have squished the message for now. I'll keep an eye on things to see how it goes.
Thanks,
Rich
The text was updated successfully, but these errors were encountered: