How to fix bash_profile/PATH not working in OS X Catalina Terminal by using zshrc instead |
|
A short walkthrough of how to install and setup command-line software (Python, node.js, Ruby, etc) that uses the ~/.bash_profile setup file. It doesn’t exist any more in OS X Catalina thanks to using Z shell, so you’ll want to use ~/.zshrc instead.
References: https://medium.com/@harrison.miller13_28580/bash-vs-z-shell-a-tale-of-two-command-line-shells-c65bb66e4658 https://ohmyz.sh/ https://github.com/ohmyzsh/ohmyzsh/wiki/Themes The URLs mentioning bash_profile: https://stackoverflow.com/questions/3402168/permanently-add-a-directory-to-pythonpath https://zwbetz.com/download-chromedriver-binary-and-add-to-your-path-for-automated-functional-testing/ https://stackoverflow.com/questions/11025980/how-to-add-usr-local-bin-in-path-on-mac https://github.com/pyenv/pyenv |