Removing computer name from terminal

Solution 1:

Two easy options:

  • Move your changes from .bashrc to .bash_profile (and delete .bashrc)
  • Add a line source ~/.bashrc to ~/.bash_profile to make sure .bashrc is read during shell startup