fzf: Only load fzf
key bindings when available
Only load the `fzf` key bindings when fzf is available. Reorder as `.banner` seems more important.
This commit is contained in:
parent
3f55ae7bbc
commit
6474b5f18c
1 changed files with 5 additions and 3 deletions
8
.zshrc
8
.zshrc
|
@ -53,8 +53,10 @@ DIRSTACKSIZE=20
|
|||
GPG_TTY=$(tty)
|
||||
export GPG_TTY
|
||||
|
||||
# source fzf
|
||||
. /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
|
||||
# source banner
|
||||
. ~/.banner
|
||||
|
||||
# source fzf
|
||||
if [ -e "/usr/share/doc/fzf/examples/key-bindings.zsh" ] ; then
|
||||
. /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue