Closed belak closed 10 months ago
path
is not the same as $PATH
, I think.
This is really old, but I'm pretty sure path
and PATH
are the same - when you change one, the other changes to match it. One is just an array version of the other. I'm not entirely sure how it works beyond that.
It uses the same mechanism as typeset -T
.
Cf http://zsh.sourceforge.net/Doc/Release/Shell-Builtin-Commands.html
Closing because this is a shell configuration issue, not an exec-path-from-shell
issue specifically.
This snippet of code worked before (in my zshrc), but now it doesn't appear to grab the path updates correctly now that it's in zshenv. Note that if I echo $PATH right after setting path in my zshenv, it shows the correct value:
/home/belak/bin:/home/belak/go/bin:/home/belak/.rbenv/shims:/home/belak/.rbenv/bin:/home/belak/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin