Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one locate a .zshrc file?

Tags:

shell

zsh

zshrc

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?

like image 337
Ulysse Avatar asked Nov 03 '14 21:11

Ulysse


2 Answers

Sure. If it's not there already, create it yourself.

$ touch ~/.zshrc
like image 177
kyranjamie Avatar answered Sep 20 '22 03:09

kyranjamie


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.

like image 45
Brent Briggs Avatar answered Sep 20 '22 03:09

Brent Briggs