-
Notifications
You must be signed in to change notification settings - Fork 56
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
Git branch lingers after prevd-or-backward-word
#38
Comments
I think it's a feature of fish shell: https://fishshell.com/docs/current/interactive.html#shared-bindings
|
Yes it is, and it's a nice feature :) The issue is that the feature doesn't currently work well in Hydro because the branch name of Git repositories gets stuck in the prompt even though you have moved out of that directory. This does not happen with the default Fish prompt. |
CleanShot.2022-09-01.at.07.57.45.mp4This little video should demonstrate the issue. Never noticed it till now. When I back up into a previous directory, the Git branch doesn't update. Git branch doesn't refresh until running another command. |
Reproduced, nice job everyone. 👌 |
When I'm in a Git repository and I
prevd-or-backward-word
out of it with Alt+←, the branch name still lingers on the prompt.Reproducible in this container https://github.com/dideler/docker-fish-shell
Also happens with Fish 3.5.1 on my actual system. Hydro version d4c107a.
The text was updated successfully, but these errors were encountered: