1 # AX-ZSH: Alex' Modular ZSH Configuration
4 axzsh_is_modern_terminal || return 91
6 # Make sure that "fzy(1)" is installed
7 (( $+commands[fzy] )) || return 1
9 function history-fzy() {
10 BUFFER=$(fc -lnr 0 | fzy -l $((LINES/2)) -q "$LBUFFER")
16 bindkey '^r' history-fzy