user11194455
user11194455

Reputation:

How to set an emoji instead of hostname on Mac Terminal?

I've seen some people on the internet have emoji for their hostname which makes the terminal much more readable when you scroll up to see history.

I have tried Terminal -> Preferences -> Profile and looked at all the options, but there's no option for adding an emoji.

Upvotes: 0

Views: 403

Answers (1)

Positive Navid
Positive Navid

Reputation: 2781

sudo scutil --set HostName pasteYourEmojiHere

For example:

sudo scutil --set HostName 😃

Upvotes: 1

Related Questions