From f1fb2e6cd9c774e8f39ab5e8f7896585a56711c2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 29 Jun 2018 17:22:56 +1200 Subject: Break sh noglob guard into two lines for clarity They're nicer to read this way. --- sh/shrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sh/shrc') 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 -- cgit v1.2.3