Load .fzf.zsh config file to have the latest options.
This commit is contained in:
parent
4b17151fea
commit
704d83d30c
14
zshrc
14
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() {
|
||||
|
|
Loading…
Reference in New Issue