This commit is contained in:
thek4n 2025-01-27 11:48:39 +03:00
parent edcb67e9ee
commit 18b705b718

View File

@ -93,7 +93,17 @@ bindkey -M vicmd "^O" cddotdot
fzfhistory() {
LBUFFER="$(history -n 0 | fzf --tac --no-multi --no-sort --height="$(($LINES/4))" --query="$BUFFER")"
LBUFFER="$( \
history -n 0 | \
fzf \
--ignore-case \
--scheme=history \
--tac \
--no-multi \
--no-sort \
--height="$(($LINES/4))" \
--query="$BUFFER" \
)"
zle reset-prompt
}
zle -N fzfhistory