From e46bce5c1abc29c93f0e070e5223a6129eaa8e5c Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 6 Dec 2024 06:50:09 +0000 Subject: Update --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index fe1745b..2c3f8ca 100644 --- a/profile +++ b/profile @@ -32,7 +32,7 @@ if which fzf &>/dev/null; then export FZF_CTRL_T_OPTS='--no-multi --bind=ctrl-c:print-query' export FZF_CTRL_R_OPTS='--bind=ctrl-c:print-query' fzf_preview() { fzf --preview 'cat {}'; } - source ~/.fzf.${shell} + [ -f ~/.fzf.${shell} ] && source ~/.fzf.${shell} fi # Set zsh or bash -- cgit v1.2.3-70-g09d2