How does one locate a .zshrc file?
27,282
Solution 1
Sure. If it's not there already, create it yourself.
$ touch ~/.zshrc
Solution 2
You can run the helper script zsh-newuser-install
from the prompt, and it will walk you through the process to create an initial .zshrc in your home directory.
Author by
Admin
Updated on January 04, 2022Comments
-
Admin over 2 years
I used Homebrew to install Z shell (zsh) 5.0.7 on my Mac.
For the life of me, .zshrc is nowhere to be found. It is not in ~. Is is not in /etc or /etc/zshrc as they suggest here: http://zshwiki.org/home/config/files
Am I supposed to create it myself?
-
Admin over 9 yearsThanks a lot. I lost way too much time on that !
-
Robin Hsu over 9 yearsYou can just search on the web for "sample .zshrc" instead of writing your own from the scratch.
-
sapanoia over 2 yearsThis comment does not add anything new on top of all the other
touch FILE
answers.