Skip to content
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

bash-git-prompt breaks atuin #496

Open
peterjanes opened this issue May 5, 2022 · 1 comment
Open

bash-git-prompt breaks atuin #496

peterjanes opened this issue May 5, 2022 · 1 comment

Comments

@peterjanes
Copy link

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 atuinsh/atuin#380 (comment),

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 148d502 of bash-git-prompt.

@guenhter
Copy link
Collaborator

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants