]> arthur.barton.de Git - ax-zsh.git/commitdiff
Revert 'Set "path" and "manpath" as "unique" type (-U), too!'
authorAlexander Barton <alex@barton.de>
Tue, 28 Dec 2021 14:25:00 +0000 (15:25 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 28 Dec 2021 14:25:00 +0000 (15:25 +0100)
When setting "path" to unique, PATH becomes reset on some systems? Hm??
So don't do it ...

This reverts commit 25cf1cc8c8c30f0162e551d6fdfdd84212b24395.

core/30_path/30_path.zprofile
core/50_path/50_path.zprofile

index a15e00620734499a6e67c0e80d22f401f3e9859c..f95a8c658e389bb905a373bc8be1cc59d962d712 100644 (file)
@@ -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
index eaab8fd2a6086263b7ad79a3a74ded14ca326920..55a39e41ee8f031bcc4836a46cc13d64c4dad575 100644 (file)
@@ -6,4 +6,3 @@ _axzsh_setup_path
 unfunction _axzsh_setup_path
 
 typeset -Ux PATH MANPATH
-typeset -U path manpath