summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.bashrc b/.bashrc
index 6f6c8be..2492b1f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -75,11 +75,11 @@ export -f wsd
#PS1='[\u@\h \W]\$ '
+# fzf
# Accomodate different base prefix on termux
[ -d "$HOME/../usr" ] && base=..
-# fzf
-. $base/usr/share/fzf/completion.bash
-. $base/usr/share/fzf/key-bindings.bash
+[ -f "$base/usr/share/fzf/completion.bash" ] && . "$base/usr/share/fzf/completion.bash"
+[ -f "$base/usr/share/fzf/key-bindings.bash" ] && . "$base/usr/share/fzf/key-bindings.bash"
unset base
# Display git status in prompt