dotfiles/fzf.zsh

14 lines
382 B
Bash
Raw Normal View History

2022-05-20 18:55:19 +00:00
# Setup fzf
# ---------
if [[ ! "$PATH" == *~/.zcomet/repos/junegunn/fzf/bin* ]]; then
export PATH="${PATH:+${PATH}:}~/.zcomet/repos/junegunn/fzf/bin"
fi
# Auto-completion
# ---------------
[[ $- == *i* ]] && source "~/.zcomet/repos/junegunn/fzf/shell/completion.zsh" 2> /dev/null
# Key bindings
# ------------
source "${HOME}/.zcomet/repos/junegunn/fzf/shell/key-bindings.zsh"