If you are using Zsh (the default on modern Macs), your configuration file is .bashrc . It is:
file ~/.bashrc
The .bashrc file is essentially a script. It runs every time a new interactive terminal opens. Here are the most common use cases: bashrc location
Because the filename starts with a dot ( . ), it is hidden by default. If you run a standard ls command in your terminal, you won’t see it. To see it, you must use the "all" flag: ls -a ~ Use code with caution. Understanding the Different bashrc Locations If you are using Zsh (the default on
It is executed for .
Here is the breakdown:
# Usage: mkcd new_folder