Skip to content

Instantly share code, notes, and snippets.

@cfarm
Last active January 29, 2016 17:13
Show Gist options
  • Select an option

  • Save cfarm/7fc68a220bd0f0923f4b to your computer and use it in GitHub Desktop.

Select an option

Save cfarm/7fc68a220bd0f0923f4b to your computer and use it in GitHub Desktop.

Revisions

  1. cfarm revised this gist Jan 29, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emoji-ps1.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    defaults write com.apple.finder AppleShowAllFiles YES
    killall Finder
    ```
    2. In Finder, go to your user directory and open the `.bash_prompt` file with Sublime Text.
    2. 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](https://github.com/cfarm/floofy-kitten/blob/master/.bash_prompt). It will give you pretty colors + a kitten emoji to start with.
    3. Go to line 57 and find the emoji that's there. Click on line 59 and go to "Edit > Special Characters."
    4. Click the little keyboard icon in the top right window that pops up.
    5. Choose your emoji and right click it to "Copy character info"
  2. cfarm created this gist Jan 29, 2016.
    11 changes: 11 additions & 0 deletions emoji-ps1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    1. Show hidden files on your Mac. Open Terminal and run these commands (doesn't matter in what folder): ([ref](http://www.macworld.co.uk/how-to/mac-software/how-show-hidden-files-in-mac-os-x-finder-3520878/)):
    ```bash
    defaults write com.apple.finder AppleShowAllFiles YES
    killall Finder
    ```
    2. In Finder, go to your user directory and open the `.bash_prompt` file with Sublime Text.
    3. Go to line 57 and find the emoji that's there. Click on line 59 and go to "Edit > Special Characters."
    4. Click the little keyboard icon in the top right window that pops up.
    5. Choose your emoji and right click it to "Copy character info"
    6. Paste that business into line 59 of the file.
    7. 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.