style
This commit is contained in:
parent
edcb67e9ee
commit
18b705b718
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user