Terminal window title rapidly changes when first opening
The commands shown in the title indicate that something is being run. This is likely to be in a sourced file such as…
- ~/.bash_profile
- ~/.profile
- /etc/profile
- ~/.bash_login
- ~/.bashrc (although this is not sourced automatically)
Check the files that your shell is sourcing for the commands that are being run and comment them out or remove them if necessary.