https://github.com/robhurring/emoji.sh
Emojis in your terminal! :+1:
https://github.com/robhurring/emoji.sh
Last synced: 10 months ago
JSON representation
Emojis in your terminal! :+1:
- Host: GitHub
- URL: https://github.com/robhurring/emoji.sh
- Owner: robhurring
- Created: 2014-06-11T22:30:38.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-11T22:43:19.000Z (about 12 years ago)
- Last Synced: 2024-04-13T19:19:38.918Z (over 2 years ago)
- Language: Shell
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Emojis for your shell! :+1:
This is a goofy little hack that reads a list of emoji's from OSX's special characters panel (Edit -> Special Characters [opt+cmd+space] to open).
Inside the `CharacterPalette.app` there is a sqlite database that has a ton of characters. I'm pulling a specific range which seems to have a large chunk of emojis. This is then spit out into an `export` format that your shell can then source.
*Disclaimer:* You will probably never need this.
## Usage
1. Clone this repo somewhere
2. Link the `emoji.sh` somewhere: `ln -s emoji.sh $HOME`
3. In your ~/.bashrc add the following: `source $HOME/emoji.sh`
4. Make sure your terminal app can handle UTF-8 and all that jazz
You can then `source ~/.bashrc` and now you're ready to rock!
To use an emoji in the terminal, simply `echo` it out: `echo $EMOJI_BEER_MUG w00t!`
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request