Right now, this is what my Terminal shows:
MyName's-MacBookPro:location MyName$
I'd like for it to only show my name, so something like this:
MyName$
When I browsed online for a solution, they said to edit my .bashrc
file. I added the following line to my .bashrc
:
export PS1="\u$ "
but there hasn't been any change, even after restarting Terminal.
This is the current contents of my .bashrc
file:
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PS1="\u$ "