diff options
Diffstat (limited to 'system/zsh/zprofile')
-rw-r--r-- | system/zsh/zprofile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/system/zsh/zprofile b/system/zsh/zprofile index 363d4863c..50cbdaaaa 100644 --- a/system/zsh/zprofile +++ b/system/zsh/zprofile @@ -21,4 +21,11 @@ _src_etc_profile export EDITOR=${EDITOR:-/usr/bin/vim} export PAGER=${PAGER:-/usr/bin/less} +if [ -d /etc/zprofile.d ]; then + for i in /etc/zprofile.d/*.zsh; do + [ -r $i ] && . $i + done + unset i +fi + unset -f _src_etc_profile |