aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-18 23:56:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-18 23:56:22 +1300
commit35433c0f2087eacaa0b40841121fe8594e4e22be (patch)
treece0e0b8f19d2af672c8d2ada38c18bf930216c3d /sh/shrc
parentMove TMUX_SHLVL trick into shrc.d (diff)
downloaddotfiles-35433c0f2087eacaa0b40841121fe8594e4e22be.tar.gz
dotfiles-35433c0f2087eacaa0b40841121fe8594e4e22be.zip
Defer kshrc loading until after shrc all loaded
Diffstat (limited to 'sh/shrc')
-rw-r--r--sh/shrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/shrc b/sh/shrc
index 8bbc5147..8a6c0062 100644
--- a/sh/shrc
+++ b/sh/shrc
@@ -19,3 +19,6 @@ for sh in "$HOME"/.shrc.d/*.sh ; do
[ -e "$sh" ] && . "$sh"
done
unset -v sh
+
+# If ENV_EXT was set and exists, source that too
+[ -f "$ENV_EXT" ] && . "$ENV_EXT"