1
0
Fork 0

zsh: Configure fzf hook

This commit is contained in:
Jeremy Kaplan 2024-09-05 11:21:41 -07:00
commit c7cdb71444

View file

@ -85,7 +85,14 @@ source $HOME/.config/zsh/j.sh
autoload -U select-word-style autoload -U select-word-style
select-word-style bash select-word-style bash
which direnv > /dev/null && eval "$(direnv hook zsh)" || true _has() {
command -V "$1" > /dev/null 2> /dev/null
}
_has direnv && eval "$(direnv hook zsh)" || true
FZF_CTRL_T_COMMAND=''
_has fzf && eval "$(fzf --zsh)" || true
setopt interactivecomments setopt interactivecomments