From 3d9e0ae95400747d070932013e761aa38e5124be Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Feb 2014 23:49:47 +1300 Subject: Use explicit if for condition Clearer than && --- bash/bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bash/bashrc') diff --git a/bash/bashrc b/bash/bashrc index 733741a1..0d68f01f 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -80,7 +80,9 @@ fi # Load any supplementary scripts if [[ -d $HOME/.bashrc.d ]]; then for config in "$HOME"/.bashrc.d/*.bash; do - [[ -r $config ]] && source "$config" + if [[ -r $config ]]; then + source "$config" + fi done fi unset -v config -- cgit v1.2.3