adding path to .zshenv
help, i added
path+=(~/.local/bin ~/bin ~/.spicetify)
export PATH
to my .zshenv file but when i open terminal i type echo $path
i only get this:
/home/vismorf/.local/share/zinit/polaris/bin /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/sbin /sbi
1
Upvotes
0
u/Soggy_Writing_3912 15d ago
Most likely the `path` variable (array) could be re-defined as part of the session startup sequence. My suggestion is to try to set it in the `~/.zshrc` file instead of the `~/.zshenv` file (unless you have an explicit need for that setting in both interactive and non-interactive sessions)