initial commit

This commit is contained in:
Josh Skidmore
2020-08-19 06:08:56 -04:00
commit 76c63d36cc
2 changed files with 9 additions and 0 deletions

1
README.md Normal file
View File

@@ -0,0 +1 @@
# zsh/fzf History Search

View File

@@ -0,0 +1,8 @@
fzf_history_seach() {
history -i 0 | fzf +s +m -x --tac -e | awk '{print substr($0, index($0, $4))}' | tr -d "\n"
}
autoload fzf_history_seach
zle -N fzf_history_seach
bindkey '^r' fzf_history_seach