bash-git-prompt breaks atuin
If I source gitprompt.sh before atuin is initialized then both work well. If I swap the order then atuin doesn't work. (It's an easy workaround, but I'm noting it here in case other shell utilities are similarly affected.)
Per https://github.com/ellie/atuin/issues/380#issuecomment-1118541542,
Atuin for bash should be additive to your shell hooks. So you should be able to enable it after bash-git-prompt. I'm guessing they have a bad init that overrides the hooks
I'm using atuin 0.9.1 and commit 148d502b666a0d62ecc83680817596b097a70f2a of bash-git-prompt.
@peterjanes at the end of the day, what bash-git-prompt does, is modifying PROMPT_COMMAND and PS1
Could you send the content of both variables for the following scenarios:
- gitprompt is sourced before atuin
- atuin is sourced before gitprompt
thx