summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2024-02-08 12:32:06 -0500
committerMike Gilbert <floppym@gentoo.org>2024-02-08 12:32:44 -0500
commiteed1e79c68e5f930666e23b79834cbb05b209e65 (patch)
treebd1b0efc6a77148dc9c8bfd4b2a4688c633b1ac5 /app-shells/zsh
parentapp-shells/zsh: zprofile: remove using ROOTPATH which is deprecated (diff)
downloadgentoo-eed1e79c68e5f930666e23b79834cbb05b209e65.tar.gz
gentoo-eed1e79c68e5f930666e23b79834cbb05b209e65.tar.bz2
gentoo-eed1e79c68e5f930666e23b79834cbb05b209e65.zip
app-shells/zsh: unset ROOTPATH
This matches the behavior of /etc/profile from baselayout. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-shells/zsh')
-rw-r--r--app-shells/zsh/files/zprofile-52
1 files changed, 2 insertions, 0 deletions
diff --git a/app-shells/zsh/files/zprofile-5 b/app-shells/zsh/files/zprofile-5
index 7bc5e03b5e34..a89fddea48af 100644
--- a/app-shells/zsh/files/zprofile-5
+++ b/app-shells/zsh/files/zprofile-5
@@ -14,6 +14,8 @@ export PAGER=${PAGER:-/usr/bin/less}
# 077 would be more secure, but 022 is generally quite realistic
umask 022
+unset ROOTPATH
+
shopts=$-
setopt nullglob
for sh in /etc/profile.d/*.sh ; do