From 5a65e1431153e86b17226e19748f0e6da10754a4 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 18 Aug 2024 02:57:09 +0200 Subject: [PATCH] addet error code message --- .bashrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'