how to get rid of username in terminal mac code example Example 1: mac terminal hide username export PS1="\W \$" Example 2: how to hide hostname mac terminal export PS1="\u$ "