aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-18 11:20:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-18 11:22:27 +1200
commit14062a6b6748241e84bae7fe2342ba5c81cc4e6b (patch)
tree9171ce3e97ae7d3fdd00378177dc39befb5d767e /bash/bashrc
parentArrange EDITOR/VISUAL in a more typical way (diff)
downloaddotfiles-14062a6b6748241e84bae7fe2342ba5c81cc4e6b.tar.gz
dotfiles-14062a6b6748241e84bae7fe2342ba5c81cc4e6b.zip
Use consistent syntax for sh source loops
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc
index f36471f7..0e1859ad 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -111,7 +111,6 @@ fi
for sh in "$ENV" \
"$HOME"/.bashrc.d/*.bash \
"$HOME"/.bash_completion.d/*.bash ; do
- [[ -e $sh ]] || continue
- source "$sh"
+ [[ -e $sh ]] && source "$sh"
done
unset -v sh