commit:     eed1e79c68e5f930666e23b79834cbb05b209e65
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  8 17:32:06 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Feb  8 17:32:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eed1e79c

app-shells/zsh: unset ROOTPATH

This matches the behavior of /etc/profile from baselayout.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 app-shells/zsh/files/zprofile-5 | 2 ++
 1 file changed, 2 insertions(+)

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

Reply via email to