How can I copy all the the command paths from the bash environment $PATH variable to the zsh environment?
I'm on macOS 11.6.1 (and about to install 11.6.6).
Many of the commands I used in bash don't work in zsh (the new default for Apple's Command line shell for new accounts). How can I get started with fixing my path?
PATH
, but to all other settings as well. BTW, I personally find it much more convenient in zsh to use the arraypath
instead of the scalarPATH
, but this is a matter of taste of course.grep -E '(PATH|path)' .profile .bash_profile .zprofile .zshenv .bashrc .zshrc
. Also do you know how to use a command line text editor or do you rely on a GUI text editor?