X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/1e14973bb185d5275cd9ce3750ffd7ad9c80ad6c..ec9f2140efb69f3f9e95b8b2fa3681e3ff07e38b:/etc/zsh/.zshrc?ds=sidebyside diff --git a/etc/zsh/.zshrc b/etc/zsh/.zshrc index b5cfaf6..893cac5 100644 --- a/etc/zsh/.zshrc +++ b/etc/zsh/.zshrc @@ -204,7 +204,7 @@ unset a k v # bash-style reverse-search-history (i.e. reverse-i-search) if [[ -v commands[fzf] ]] { function _history-incremental-pattern-search-fzf { - l=(${(f)"$(fc -li -1 0 | fzf -emn 1 +s --preview-window=hidden ${BUFFER:+-q $BUFFER})"}) + l=(${(f)"$(fc -li -1 0 | fzf -e -m -n 1 +s --preview-window=hidden ${BUFFER:+-q $BUFFER})"}) l=$(for x ("${l[@]}") { echo ${${=x}:3}; }) BUFFER="$l" }