Skip to content

Instantly share code, notes, and snippets.

@cfarm
Last active January 29, 2016 17:13
Show Gist options
  • Save cfarm/7fc68a220bd0f0923f4b to your computer and use it in GitHub Desktop.
Save cfarm/7fc68a220bd0f0923f4b to your computer and use it in GitHub Desktop.
put emoji in your command line prompt
  1. Show hidden files on your Mac. Open Terminal and run these commands (doesn't matter in what folder): (ref):
defaults write com.apple.finder AppleShowAllFiles YES
killall Finder
  1. In Finder, go to your user directory and open the .bash_prompt file with Sublime Text. Note: if you don't have any fancy .bash_prompt stuffs you can steal mine from here. It will give you pretty colors + a kitten emoji to start with.
  2. Go to line 57 and find the emoji that's there. Click on line 59 and go to "Edit > Special Characters."
  3. Click the little keyboard icon in the top right window that pops up.
  4. Choose your emoji and right click it to "Copy character info"
  5. Paste that business into line 59 of the file.
  6. Delete all the other crud. Then cut and paste your chosen emoji over the one that's in line 57, save, restart your terminal and you're good to go.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment