I am missing the .zshrc file in home directory
I am not able to find the .zshrc file in the home directory when executed %ls -la ~/ command
[Re-Titled by Moderator]
I am not able to find the .zshrc file in the home directory when executed %ls -la ~/ command
[Re-Titled by Moderator]
You do not need ~/ just ~ to list your home directory.
Copy and paste the following into your Terminal and then press return. It will create the .zshrc file with a basic PATH and shell prompt for you.
<<"EOF" > ~/.zshrc
export PATH=".:/usr/local/bin:${PATH}"
PS1="%m: %~ %% "
EOF
Once that is done, issue the following command to make the contents of that .zshrc file current. Your shell prompt will change.
source ~/.zshrc
You do not need ~/ just ~ to list your home directory.
Copy and paste the following into your Terminal and then press return. It will create the .zshrc file with a basic PATH and shell prompt for you.
<<"EOF" > ~/.zshrc
export PATH=".:/usr/local/bin:${PATH}"
PS1="%m: %~ %% "
EOF
Once that is done, issue the following command to make the contents of that .zshrc file current. Your shell prompt will change.
source ~/.zshrc
I don’t think it’s created by default and it’s not necessary unless you need to actually put some stuff in that file. In that case you just create the file and put the stuff in it that you need.
I am missing the .zshrc file in home directory