To avoid mistakes like that is why I put the hostname and only the hostname plus one character in my shell prompt.
(The other character is a # or $ depending on whether the user is root or not.)
(The other character is a # or $ depending on whether the user is root or not.)
Did you change the $PS1 variable? Can you share your config?
It means having a slightly difference .bashrc for each machine, but it's trivial.