Open aborrero opened 1 month ago
Hey! Thanks for the issue
Firstly some context - bash does not provide shell hooks, which we require to hook into the lifecycle of a command. To work around this, we use bash-preexec. It mostly solves the problem, but isn't quite as effective as a native integration. All other shells we support have hooks included as standard.
While the cause of your specific problem is unclear, it will likely be solved by using ble.sh instead of bash-preexec. We can't do this by default as it's a much larger change to your shell
Otherwise, could you share the version of Bash you're using please? Older versions have more edge cases here
Ok, I will try with ble.sh and report back.
I wish there was an atuin log one could access to see what internal code path atuin was experiencing for processing a given shell command. Can you advice about this?
you could
export ATUIN_LOG=debug
It'll be really chatty
Though if it's an issue with the shell integration, Atuin may not be being invoked at all. So logs won't really help you there
What did you expect to happen?
When I type on one terminal window this:
I open another terminal window, run atuin (CTRL+R) and I see the above command as the last command.
What happened?
I typed on one terminal window this:
Then opened another terminal window, hit CTRL+R to open the atuin panel, and the above command was not present.
Atuin doctor output