Change your Mac OS X hostname for a better looking terminal prompt

Guilherme Rodrigues
First, do it
Published in
1 min readAug 23, 2015

--

The first command to run on your new Mac:

sudo scutil --set HostName <new name>

Finally! I can say goodbye to:

guilherme@Guilhermes-MacBook-Pro ~>

and hello to:

guilherme@trinsic ~>

PS: You should also check out the awesome iTerm2 terminal emulator along with the excellent fish shell.

--

--