What's the recommended way to add binaries to $PATH?
PaulRBerg opened this issue · 2 comments
I love this repo but I'm new to zsh and I'm not quite sure what's the best place to add my binaries to the $PATH. In Bash, I used to do that in .bash_profile
. Is .zshrc
the zsh analogue? Or .zshenv
?
Side note: it might be worth it to enable discussions in this repository. I would have opened a discussion instead of an issue.
We set the path in .zsh/configs/post/path.zsh
. You could set your own by layering in a file in zsh/configs/post
that runs after that, or you could set it in your own .zshrc.local
file, which gets loaded after the configs
directory's contents get loaded.
Check out the files here to see the way this gets loaded:
Lines 8 to 38 in 42a313b
Thanks for your answer, @geoffharcourt. Going to close this issue now.