I messed around with my bash profile (in nano, macOS) a while ago and changed how the Terminal prompt looks. Now, I just want my prompt to be the default, but when I change it in .bash_profile, nothing happens. I'm running macOS Catalina version 10.15.4.
Since macOS Catalina, zsh is the default shell instead of bash. So changing
~/.bash_profile doesn't help; you either need to
- change your zsh profile through
- change your default shell to bash through
chsh -s /bin/bash
It's also possible to do this via the GUI but if you're already in Terminal, this is quicker.