aboutsummaryrefslogtreecommitdiff
path: root/pdksh
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 /pdksh
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 'pdksh')
-rw-r--r--pdksh/pdkshrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdksh/pdkshrc b/pdksh/pdkshrc
index 46dbba2c..6039eea3 100644
--- a/pdksh/pdkshrc
+++ b/pdksh/pdkshrc
@@ -8,7 +8,6 @@ HISTSIZE=$((1 << 12))
# Load any supplementary scripts
for pdkshrc in "$HOME"/.pdkshrc.d/*.pdksh ; do
- [[ -e $pdkshrc ]] || continue
- . "$pdkshrc"
+ [[ -e $pdkshrc ]] && . "$pdkshrc"
done
unset -v pdkshrc