Forward fish_key_bindings for fish 4.3 changes (AI assisted)#619
Forward fish_key_bindings for fish 4.3 changes (AI assisted)#619scaryrawr wants to merge 1 commit intoIlanCosman:mainfrom
Conversation
Fixes the regression with falling through to vi mode in default mode
|
Human here. Thanks for the patch :D |
|
Thanks for this fix! This PR provides a comprehensive solution for the prompt character issue. I can confirm this addresses #632 as well (same root cause - This PR is more complete than #626 since it fixes both:
Would be great to see this merged soon as it's affecting quite a few users! 🙏 |
|
anyway for this to get merged so others dont have to |
|
+1 on this fix — I independently hit the exact same bug and opened #653 before finding this PR (now closed as duplicate). Worth noting that the root cause isn't limited to fish 4.3: any setup that stores Additional reproduction (independent of fish 4.3)On CachyOS (which ships a fish config that sets Confirming the root causeWhat made it obvious is that calling the character function directly in the interactive shell prints the correct glyph: $ echo $fish_key_bindings
fish_default_key_bindings
$ echo $fish_bind_mode
default
$ set _tide_status 0; _tide_item_character
❯…while the actual prompt still renders The added Would love to see this merged — it's a subtle but very visible bug. |
AI disclosure: This change was made with copilot 😅 after noticing the issue when updating to fish 4.3.1.
Fixes the regression with falling through to vi mode in default mode for fish 4.3.0.
Description
In fish 4.3.0:
This change forwards the fish_keybindings for the prompt as well as does a check if the fish_keybindings is not set.
Motivation and Context
In default mode, we are getting
<instead of>for the prompt arrow since it falls through into the vim mode checks.Screenshots (if appropriate)
How Has This Been Tested
Checklist