Resetting Your Bash Shell

Often after making changes to your Bash configuration or prompt or just anything in your Bash environment you need to reset Bash to use the changes, for example, adding an alias, a function, an environment variable, or something to your $PATH. People often waste a lot of time restarting their terminal, or even their entire computer when all you need to do is

exec bash

This command replaces the running Bash shell with a brand new one with all of your updated settings.