zsh: Configure fzf hook
This commit is contained in:
parent
13c8b2fbbe
commit
c7cdb71444
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue