From: Alexander Barton Date: Tue, 28 Dec 2021 14:25:00 +0000 (+0100) Subject: Revert 'Set "path" and "manpath" as "unique" type (-U), too!' X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=d727281a5244db5271283445935ba5128d3ef2f3;p=ax-zsh.git Revert 'Set "path" and "manpath" as "unique" type (-U), too!' When setting "path" to unique, PATH becomes reset on some systems? Hm?? So don't do it ... This reverts commit 25cf1cc8c8c30f0162e551d6fdfdd84212b24395. --- diff --git a/core/30_path/30_path.zprofile b/core/30_path/30_path.zprofile index a15e006..f95a8c6 100644 --- a/core/30_path/30_path.zprofile +++ b/core/30_path/30_path.zprofile @@ -8,7 +8,6 @@ else PATH="/usr/sbin:/usr/bin:/sbin:/bin" fi typeset -Ux PATH -typeset -U path _axzsh_setup_path() { # Prepend additional search paths @@ -65,4 +64,3 @@ if [[ $? -ne 0 ]]; then done fi typeset -Ux MANPATH -typeset -U manpath diff --git a/core/50_path/50_path.zprofile b/core/50_path/50_path.zprofile index eaab8fd..55a39e4 100644 --- a/core/50_path/50_path.zprofile +++ b/core/50_path/50_path.zprofile @@ -6,4 +6,3 @@ _axzsh_setup_path unfunction _axzsh_setup_path typeset -Ux PATH MANPATH -typeset -U path manpath