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
|
## 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() {
|
||||||
|
|
Loading…
Reference in New Issue