initial commit
This commit is contained in:
8
zsh-fzf-history-search.zsh
Normal file
8
zsh-fzf-history-search.zsh
Normal 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
|
||||||
Reference in New Issue
Block a user