From 50697b14105e2def51f2aed4e8dd6656ab47694b Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 2 Oct 2015 10:53:15 +0200 Subject: [PATCH] 99_cleanup: Don't clean up when zprofile hasn't been read --- core/99_cleanup/99_cleanup.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/core/99_cleanup/99_cleanup.zshrc b/core/99_cleanup/99_cleanup.zshrc index eefb842..29a765f 100644 --- a/core/99_cleanup/99_cleanup.zshrc +++ b/core/99_cleanup/99_cleanup.zshrc @@ -2,5 +2,6 @@ # 99_cleanup.zshrc: Don't pollute the namespace, remove variables/functions/... [[ -o login ]] && return +[[ "$AXZSH_ZPROFILE_READ" = "2" ]] && return source "$AXZSH/core/99_cleanup/99_cleanup.zlogin" -- 2.39.2