I am trying to get ZSH config working correctly on Mac OSX. I installed it using curl: curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
. Then I modified my zshrc file to fit my needs. It works only after I run source ~/.zshrc
. But then if I come back and open a new tab or new terminal I have to do source ~/.zshrc
to get the config settings to work again. Has anybody ran into this issue? I believe there is a way to make it so I don't have to do source ~/.zshrc
with every new tab.
Enter your home directory and open the . zshrc file in your editor of choice. This file is run whenever you start zsh and is the place where any custom configuration lives. Note: file names that begin with a dot are hidden by default on most operating systems, so you'll need to make it visible before you can edit it.
zshrc file on a Mac? The . zshrc file will be located in the users home directory, or ~/, and this user . zshrc file is where you'd place customizations to the z shell.
Or else you can use open -t . zshrc command to open ~/. zshrc file from your general TextEdit on Mac OS.
I figured this out. It was due to my config file. The part of the zsh config that wasn't loading needed to be moved down after the plugins load. After moving that it all worked as expected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With