diff --git a/.bashrc b/.bashrc index 07adedf..96b8667 100644 --- a/.bashrc +++ b/.bashrc @@ -229,7 +229,11 @@ fi # ─< Key bindings >─────────────────────────────────────────────────────────────────────── # source /usr/share/doc/fzf/examples/completion.bash -source ~/.fzf.bash +if [ -f $HOME/.fzf.bash]; then + source $HOME/.fzf.bash +else + echo_error "fzf completion script not found" +fi source /usr/share/doc/fzf/examples/key-bindings.bash # ─< Use fzf for completion >───────────────────────────────────────────────────────────── bind -x '"\t": fzf-completion'