ubuntu18:依赖git
# ubuntu18
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# 一路Y就可以了
ubuntu20:使用apt
sudo apt-get install fzf
# 在.bashrc中追加下面两行
source /usr/share/doc/fzf/examples/key-bindings.bash
source /usr/share/doc/fzf/examples/completion.bash
ubuntu22:使用apt
sudo apt-get install fzf
# 在.bashrc中追加下面两行
source /usr/share/doc/fzf/examples/key-bindings.bash