aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc2
-rw-r--r--zsh/zshrc3
2 files changed, 4 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index ef80a8eb..f36471f7 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -108,7 +108,7 @@ fi
# Load POSIX shell functions, Bash-specific scripts, and Bash completion files,
# in that order
-for sh in "$HOME"/.shrc.d/*.sh \
+for sh in "$ENV" \
"$HOME"/.bashrc.d/*.bash \
"$HOME"/.bash_completion.d/*.bash ; do
[[ -e $sh ]] || continue
diff --git a/zsh/zshrc b/zsh/zshrc
index a5b8dd7e..90e920ad 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -6,3 +6,6 @@ setopt histignorealldups sharehistory
HISTSIZE=$((1 << 12))
SAVEHIST=$((1 << 24))
HISTFILE=$HOME/.zsh_history
+
+# Load POSIX shell functions
+source "$ENV"