aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-17 20:21:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-17 20:21:10 +1200
commitc38c6286d01793c9ffbd2edcdbe3ecc818ebeaad (patch)
treeea297e43afefe70990d44345d5c21f08ad502387
parentExplain ksh.sh a bit more (diff)
downloaddotfiles-c38c6286d01793c9ffbd2edcdbe3ecc818ebeaad.tar.gz
dotfiles-c38c6286d01793c9ffbd2edcdbe3ecc818ebeaad.zip
Update bashrc/zshrc with POSIX funcs source
-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"