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. --- bash/bashrc.d/keep.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bash/bashrc.d/keep.bash') diff --git a/bash/bashrc.d/keep.bash b/bash/bashrc.d/keep.bash index da7ff558..ab89288e 100644 --- a/bash/bashrc.d/keep.bash +++ b/bash/bashrc.d/keep.bash @@ -143,6 +143,7 @@ EOF # Load any existing scripts in bashkeep for bashkeep in "${BASHKEEP:-"$HOME"/.bashkeep.d}"/*.bash ; do - [[ -e $bashkeep ]] && source "$bashkeep" + [[ -e $bashkeep ]] || continue + source "$bashkeep" done unset -v bashkeep -- cgit v1.2.3