-1

我在 Mac 上使用 brew安装了 fzf ( https://github.com/junegunn/fzf#fish-shell )。前几天我使用 brew 删除了它。

现在,每当我打开鱼壳时,我都会收到以下消息:

fish: 
  fzf_key_bindings
  ^
in function '__original_fish_user_key_bindings'
        called on line 46 of file ~/.local/share/omf/init.fish
in function 'fish_user_key_bindings'
in function '__fish_reload_key_bindings'
        called on line 228 of file /usr/local/Cellar/fish/3.1.2/share/fish/functions/__fish_config_interactive.fish
in function '__fish_config_interactive'
        called on line 170 of file /usr/local/Cellar/fish/3.1.2/share/fish/config.fish
in function '__fish_on_interactive'
in event handler: handler for generic event 'fish_prompt'

如何从这里干净地删除 fzf 集成?

4

1 回答 1

1

fzf 通过附加到fish_user_key_bindings.

您可以通过编辑~/.config/fish/functions/fish_user_key_bindings.fish和删除对fzf_key_bindings.

如果你已经通过运行它的install脚本安装了 fzf,当然你也可以运行它的uninstall脚本。

于 2021-02-05T01:22:54.797 回答