Adding an Emoji to Terminal

During  Lightening Talks, blogging and youtube demonstrations, I normally get a comment or question about how I have a cute strawberry in my terminal:

strawberry-bash.png

If you are using a Mac, you can customize your bash profile. To add and edit this, you’ll need to open your bash profile using your favorite editor. A free editor that I am currently using is sublime:

subl ~/.bash_profile

Then you’ll either edit or add:

PS1=””

In the text editor, select “Edit” and then “Special Characters…”, you can add any emoji you want within the empty string:

Tada!

To further edit your bash profile, I recommend this blog: Customize the Command Line by Adding Emoji Icons to the Bash Prompt 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s