diff --git a/zshrc b/zshrc index 533f583..c8fd834 100644 --- a/zshrc +++ b/zshrc @@ -706,19 +706,7 @@ function translate() ## fzf if [ -d ~/.fzf ]; then - # Setup fzf - # --------- - if [[ ! "$PATH" == *$HOME/.fzf/bin* ]]; then - export PATH="$PATH:$HOME/.fzf/bin" - fi - - # Auto-completion - # --------------- - [[ $- == *i* ]] && source "$HOME/.fzf/shell/completion.zsh" 2> /dev/null - - # Key bindings - # ------------ - source "$HOME/.fzf/shell/key-bindings.zsh" +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh # ff - cd to selected directory (exclude hidden directories ff() {