-
Notifications
You must be signed in to change notification settings - Fork 95
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
preexec is called / not called in weird moments #104
Comments
Has anyone found a solution for this? I'm also running into this issue running |
@sullivan-sean same exactly as described here? And bash-preexec.sh is the last thing included in your bash configuration? |
Please ignore, this was a clash with another tool. Now working as intended. Sorry!
|
@slash-dev could you share what your debug trap and PROMPT_COMMAND look like: e.g. running on my local machine [rcaloras:~] 3s $ trap && echo "$PROMPT_COMMAND"
trap -- '__bp_preexec_invoke_exec "$_"' DEBUG
__bp_precmd_invoke_cmd
__lp_set_prompt
__bp_interactive_mode |
Please ignore, this was a clash with another tool. Now working as intended. Sorry! |
I have single
preexec
andprecmd
functions defined.When I open new bash window, I get this:
So, it is called when I open new bash session, it;s not being called for first command in that bash session, and then it's being called again for any subsequent commands....
The text was updated successfully, but these errors were encountered: