Bashrc Location Fix -

This tells Bash: "If this is a login shell, please load .bashrc anyway."

mkcd() mkdir -p "$1" cd "$1"

If you are on macOS, the behavior changed starting with macOS Catalina (10.15). The default shell switched from to Zsh . bashrc location

(zsh, fish) – they use different files ( .zshrc , config.fish ) This tells Bash: "If this is a login shell, please load

Here’s a quick guide to understanding where .bashrc is (or should be) located, and how to find it on your system. bashrc location

The .bashrc file is essentially a script. It runs every time a new interactive terminal opens. Here are the most common use cases: