diff options
| author | kj_sh604 | 2025-12-28 23:41:31 -0500 |
|---|---|---|
| committer | kj_sh604 | 2025-12-28 23:42:16 -0500 |
| commit | 155d1165bb560552f672323ce18e4d3d92aa42e7 (patch) | |
| tree | 7e9171839fc882fd29e15a07a92407794c1fe936 /.config/fish/conf.d/fish_frozen_key_bindings.fish | |
| parent | cc352d70fa1018cdcc3dea2982762e0d3d475eb5 (diff) | |
refactor: fish 4.3 changes
fish update message that prompted this change:
fish: upgraded to version 4.3:
* Color variables are no longer set in universal scope by default.
Migrated them to global variables set in ~/.config/fish/conf.d/fish_frozen_theme.fish
To restore syntax highlighting in other fish sessions, please restart them.
* The fish_key_bindings variable is no longer set in universal scope by default.
Migrated it to a global variable set in ~/.config/fish/conf.d/fish_frozen_key_bindings.fish
See also the release notes (type `help relnotes`).
Diffstat (limited to '.config/fish/conf.d/fish_frozen_key_bindings.fish')
| -rw-r--r-- | .config/fish/conf.d/fish_frozen_key_bindings.fish | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/fish/conf.d/fish_frozen_key_bindings.fish b/.config/fish/conf.d/fish_frozen_key_bindings.fish new file mode 100644 index 0000000..dfed4d6 --- /dev/null +++ b/.config/fish/conf.d/fish_frozen_key_bindings.fish @@ -0,0 +1,14 @@ +# This file was created by fish when upgrading to version 4.3, to migrate +# the 'fish_key_bindings' variable from its old default scope (universal) +# to its new default scope (global). We recommend you delete this file +# and configure key bindings in ~/.config/fish/config.fish if needed. + +set --global fish_key_bindings fish_vi_key_bindings + +# Prior to version 4.3, fish shipped an event handler that runs +# `set --universal fish_key_bindings fish_default_key_bindings` +# whenever the fish_key_bindings variable is erased. +# This means that as long as any fish < 4.3 is still running on this system, +# we cannot complete the migration. +# As a workaround, erase the universal variable at every shell startup. +set --erase --universal fish_key_bindings |
