Reputation: 2205
Recently I installed someone else .dotfiles and as excepted overwrited my configuration.
The thing is that I want to use my custom settings for my ZSH but I can't find .zshrc
inside ~/
, I have other .zshrc.files but editing none of these is working.
Also the dotfiles I've installed are in `~/.dotfiles but seems that none of these contains config.
Can someone please explain me how to edit the ZSH now, can I revert my old .zshrc?
Upvotes: 5
Views: 16106
Reputation: 565
Maybe try creating one yourself?
My Mac didn't come with the .zshrc file specific for my user, so I had to create one.
cd ~
touch .zshrc
and press ReturnYou can now open this file either from finder or terminal.
To view it on Finder:
COMMAND + SHIFT + .
This will help you view hidden files.To open via Terminal:
open .zshrc
Now you can edit it and save COMMAND+ S
If you have added aliases to use as shortcut commands, you have to re-start your Terminal to be able to use them.
Upvotes: 0
Reputation: 31
cd
zsh
and Press Enter~/.zshrc
with the configuration
recommended
by the system administrator and exit (you will need to edit
the file by hand, if so desired).(You have to type "2" to select it and press enter)...
then all the files will be created on the directory..
Upvotes: 3