Some application tells me to add something to the PATH environment variables, I know one way to do this is by creating a file at
~/.zshrc, but I would like to know where is the file the variable
PATH=... is stored?
When I typed
echo $PATH I got:
From the file
/etc/paths I got:
/usr/local/bin /usr/bin /bin /usr/sbin /sbin
So which file appended the additional paths?
Reply to the comment:
I got: (forgive me that I changed my user name to
grep: /Users/alice/.profile: No such file or directory grep: /etc/environment: No such file or directory grep: /etc/zsh/zprofile: No such file or directory grep: /Users/alice/.zshrc: No such file or directory grep: /Users/alice/.profile: No such file or directory