My normal terminal command line has suddenly disappeared and has been replaced by this git command line ➜ ~ git:(master) ✗.
➜ ~ git:(master) ✗
How do I get rid of this an
I know your problem , You are using zsh, right?
zsh
If so, you should add export PS1=xxxxx to ~/.zshrc, not ~/.bashrc.
export PS1=xxxxx
~/.zshrc
~/.bashrc
Or you just don't use zsh , input bash and switch to bash.input chsh -s /bin/bash to change the default shell to bash.
bash
bash.input
chsh -s /bin/bash