X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/8a92a2c03c1ea03829e44bf80771a08153261e2a..3cfa9e5d746bd65ecc35f1f8b50bcb7c200671c5:/etc/zsh/.zshenv diff --git a/etc/zsh/.zshenv b/etc/zsh/.zshenv index 56f80dc..f961cfb 100644 --- a/etc/zsh/.zshenv +++ b/etc/zsh/.zshenv @@ -55,7 +55,7 @@ function _sev_setpath { # remove any further occurences to capture elements from the old PATH # that we did not anticipate and shift them to the front, since they are # probably important to the system - typeset -U path fpath + typeset -gU path fpath # add as many generic paths as possible to keep the order we want # NOTE: /usr/{local,pkg,games} are unix/bsdisms # XXX: PREFIX not validated, non-posix but Termux uses it, maybe others @@ -92,7 +92,6 @@ function _sev_setpath { # FPATH is not exported by default export FPATH typeset +U path fpath - unset syspath len i } ### common exports