Fix #3
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
fzf_history_seach() {
|
||||
BUFFER=$(history -t '%Y-%m-%d %H:%M:%S' 0 | grep -v 1969 | fzf +s +m -x --tac -e -q "$BUFFER" | awk '{print substr($0, index($0, $4))}')
|
||||
BUFFER=$(history -t '%Y-%m-%d %H:%M:%S' 0 | fzf +s +m -x --tac -e -q "$BUFFER" | awk '{print substr($0, index($0, $4))}')
|
||||
zle end-of-line
|
||||
}
|
||||
|
||||
autoload fzf_history_seach
|
||||
zle -N fzf_history_seach
|
||||
|
||||
bindkey '^r' fzf_history_seach
|
||||
bindkey '^r' fzf_history_seach
|
||||
|
||||
Reference in New Issue
Block a user