Error .zshrc:source:8: no such file or directory: /opt/homebrew/etc/grc.zsh

Hi, I run terminal and got this msg "/Users/Tanggoma/.zshrc:source:8: no such file or directory: /opt/homebrew/etc/grc.zsh". How can I fix this?

MacBook Pro 14″, macOS 13.2

Posted on Mar 2, 2023 9:12 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 5, 2023 11:47 AM

Edit the file ~/zshrc using the following command, and comment out the line at or near line 8.


pico ~/.zshrc


This error probably involves a homebrew install, and the grc package.

2 replies

Mar 5, 2023 11:30 AM in response to winlada17

Hello winlada17,


For help with getting started with terminal, view the guide found here: Terminal User Guide for Mac


Additional information below found in the page here can also assist: Open or quit Terminal on Mac - Apple Support


"Open or quit Terminal on Mac


Terminal provides a command-line interface to macOS. Each window in Terminal represents an instance of a shell process. The window contains a prompt that indicates you can enter a command. The prompt you see depends on your Terminal and shell settings, but it often includes the name of the host you’re logged in to, your current working folder, your user name, and a prompt symbol. For example, if a user named michael is using the default zsh shell, the prompt appears as:

michael@MacBook-Pro ~ %


This indicates that the user named michael is logged in to a computer named MacBook-Pro, and the current folder is his home folder, indicated by the tilde (~)."


Additionally, as mentioned here: Set a custom umask in macOS - Apple Support

"These advanced steps are primarily for system administrators and others who are familiar with the command line. Be careful when you change file permissions and umasks. If you make a mistake, you can lower the security of files, folders, or apps on your Mac, or prevent apps from working."


For further assistance, reach out to Apple Support directly.

Contact - Official Apple Support


Contact Apple for support and service - Apple Support



Best.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error .zshrc:source:8: no such file or directory: /opt/homebrew/etc/grc.zsh

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.