fzf-zsh
ubuntu 22.04
1 | sudo apt install fzf |
apt安装后发现没有自动修改终端Ctrl-R和Ctrl-T快捷键,github上生成脚本的命令fzf --zsh
提示选项不存在,询问chatGPT得解。
1 | cat /usr/share/doc/fzf/example/key-bindings.zsh > ~/.fzf.zsh |
在~/.zshrc添加
1 | source ~/.fzf.zsh |
重启,完成
- Title: fzf-zsh
- Author: Endless_daydream
- Created at : 2024-05-20 18:57:09
- Updated at : 2024-05-20 19:02:25
- Link: https://endless_daydream.gitee.io/2024/05/20/linux/fzf-zsh/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments