From edbd930f448e7caec04cb403ff6400ff16ddfff4 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Thu, 14 Dec 2017 15:28:05 +0100 Subject: [PATCH] Source /etc/profile.d/*.sh if it exists --- .zshenv | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.zshenv b/.zshenv index 1651b32..10f5b61 100644 --- a/.zshenv +++ b/.zshenv @@ -331,3 +331,10 @@ case "$FQDN" in ;; esac +if [ -d /etc/profile.d ] +then + for i in /etc/profile.d/*.sh + do + . $i + done +fi