aboutsummaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 014ac3fd..2376e568 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -7,5 +7,8 @@ HISTFILE=$HOME/.zsh_history
SAVEHIST=$((1 << 12))
HISTSIZE=$((1 << 10))
-# Load POSIX shell functions
-source "$ENV"
+# Load POSIX shell startup files and then Bash-specific ones
+for sh in "$ENV" "$HOME"/.zshrc.d/*.zsh ; do
+ [[ -e $sh ]] && source "$sh"
+done
+unset -v sh