diff options
| author | Mica White <botahamec@outlook.com> | 2026-09-14 23:53:11 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-09-14 23:53:11 -0400 |
| commit | a248cc5aa23bbb4e6aa00cb3e5904142234512ff (patch) | |
| tree | a096895b9a2cd75136cd9c23529a815a8bea6bcd /.config/fish/conf.d | |
| parent | 9b3ac1442aabcacbf8323badb0126f0a03790b9f (diff) | |
Cleanup
Diffstat (limited to '.config/fish/conf.d')
| -rw-r--r-- | .config/fish/conf.d/fish_frozen_key_bindings.fish | 14 | ||||
| -rw-r--r-- | .config/fish/conf.d/fzf.fish | 28 |
2 files changed, 0 insertions, 42 deletions
diff --git a/.config/fish/conf.d/fish_frozen_key_bindings.fish b/.config/fish/conf.d/fish_frozen_key_bindings.fish deleted file mode 100644 index 495aee9..0000000 --- a/.config/fish/conf.d/fish_frozen_key_bindings.fish +++ /dev/null @@ -1,14 +0,0 @@ -# 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_default_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 diff --git a/.config/fish/conf.d/fzf.fish b/.config/fish/conf.d/fzf.fish deleted file mode 100644 index 8156c11..0000000 --- a/.config/fish/conf.d/fzf.fish +++ /dev/null @@ -1,28 +0,0 @@ -# fzf.fish is only meant to be used in interactive mode. If not in interactive mode and not in CI, skip the config to speed up shell startup -if not status is-interactive && test "$CI" != true - exit -end - -# Because of scoping rules, to capture the shell variables exactly as they are, we must read -# them before even executing _fzf_search_variables. We use psub to store the -# variables' info in temporary files and pass in the filenames as arguments. -# This variable is global so that it can be referenced by fzf_configure_bindings and in tests -set --global _fzf_search_vars_command '_fzf_search_variables (set --show | psub) (set --names | psub)' - - -# Install the default bindings, which are mnemonic and minimally conflict with fish's preset bindings -fzf_configure_bindings - -# Doesn't erase autoloaded _fzf_* functions because they are not easily accessible once key bindings are erased -function _fzf_uninstall --on-event fzf_uninstall - _fzf_uninstall_bindings - - set --erase _fzf_search_vars_command - functions --erase _fzf_uninstall _fzf_migration_message _fzf_uninstall_bindings fzf_configure_bindings - complete --erase fzf_configure_bindings - - set_color cyan - echo "fzf.fish uninstalled." - echo "You may need to manually remove fzf_configure_bindings from your config.fish if you were using custom key bindings." - set_color normal -end |
