aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc')
-rw-r--r--sh/shrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/shrc b/sh/shrc
index 63026e69..6359dbc3 100644
--- a/sh/shrc
+++ b/sh/shrc
@@ -16,7 +16,8 @@ unset -v MAILCHECK
# Load all the POSIX-compatible functions from ~/.shrc.d; more advanced shells
# like bash will have their own functions
for sh in "$HOME"/.shrc.d/*.sh ; do
- [ -e "$sh" ] && . "$sh"
+ [ -e "$sh" ] || continue
+ . "$sh"
done
unset -v sh