Load .fzf.zsh config file to have the latest options.

This commit is contained in:
Jeremy Gardais 2017-12-15 12:02:51 +01:00
parent 4b17151fea
commit 704d83d30c
1 changed files with 1 additions and 13 deletions

14
zshrc
View File

@ -706,19 +706,7 @@ function translate()
## fzf ## fzf
if [ -d ~/.fzf ]; then if [ -d ~/.fzf ]; then
# Setup fzf [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# ---------
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"
# ff - cd to selected directory (exclude hidden directories # ff - cd to selected directory (exclude hidden directories
ff() { ff() {