aboutsummaryrefslogtreecommitdiff
path: root/ksh/kshrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-03-29 17:17:40 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-03-29 17:17:40 +1300
commit607527f2d20e40dea83a1fc6ead4ad37467c0f4c (patch)
tree443542331aa694ebd4bdbdfb80c96d3b8260a2da /ksh/kshrc
parentRemove unneeded leading pipe from b:undo_ftplugin (diff)
downloaddotfiles-607527f2d20e40dea83a1fc6ead4ad37467c0f4c.tar.gz
dotfiles-607527f2d20e40dea83a1fc6ead4ad37467c0f4c.zip
Fix up a few cosmetic shell anti-patterns
Diffstat (limited to 'ksh/kshrc')
-rw-r--r--ksh/kshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ksh/kshrc b/ksh/kshrc
index 1aea4b9d..26e0270c 100644
--- a/ksh/kshrc
+++ b/ksh/kshrc
@@ -21,6 +21,7 @@ HISTFILE=$HOME/.ksh_history
# Load any supplementary scripts
for ksh in "$HOME"/.kshrc.d/*.ksh ; do
- [[ -e $ksh ]] && . "$ksh"
+ [[ -e $ksh ]] || continue
+ . "$ksh"
done
unset -v ksh