![]() ![]() ![]() If you're using a "bash" environment (the default Terminal.app, for example), you should check out ~/.bash_profile or ~/.bashrc. You can ls -l /etc/paths.d to list items and rm /etc/paths.d/path_you_dislike to remove items. I've found that there are some files that may affect the $PATH variable in macOS (works for me, 10.11 El Capitan), listed below:Īs the top voted answer said, vi /etc/paths, which is recommended from my point of view.Īlso don't forget the /etc/paths.d directory, which contains files may affect the $PATH variable, set the git and mono-command path in my case. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |