FZF搜索工具

https://github.com/junegunn/fzf

可以通过git安装

自定义命令, 在./bashrc里添加配置
例如增强历史命令搜索

# fh - repeat history
fh() {
  print -z $( ([ -n "$ZSH_NAME" ] && fc -l 1 || history) | fzf +s --tac | sed 's/ *[0-9]* *//')
}