/psemoji

Get some emoji in your prompt!

Primary LanguageShell

πŸš²πŸ™ŠπŸŒ»β›…οΈπŸŒ΅πŸΈπŸŽ©πŸ³βš‘οΈπŸ€πŸŽƒπŸŒšπŸ™πŸ“Ό

Get some emoji in your prompt!

Install πŸ’ͺ

curl https://raw.githubusercontent.com/smurthas/psemoji/master/$(python -c 'import urllib; print urllib.quote_plus("πŸ‘")') | bash

The install script will set up a cronjob that will pull down weather info and add an export PS= line to your ~/.profile. πŸ‘Œ

Emojeez

(if you aren't on Safari, click here)

EVERYTHING!!

export PS1=$PSE_STANDARD$PS1
β—οΈπŸ”‹ (7%)πŸŒ– 62°☁️  🚧 #and then whatever was already in your prompt

Moon cycle, holidays, and beer-o-clock reminders!

export PS1=$PSE_CHRONO$PS1
πŸŒ” 20:20:35 🏠/psemoji:
🍻 πŸŒ— 17:03:51 🏠/psemoji:

Local weather!

export PS1=$PSE_WEATHER$PS1
πŸŒ” 20:20:35 46°⛅️  🏠/psemoji:

Non-zero exit codes β†’ ❗️, Low battery, and read-only directory warnings!

export PS1=$PSE_WARNINGS$PS1
β—οΈπŸ”’πŸ”‹(3%)πŸŒ” 20:20:35 46°⛅️  /opt:

Directory Aliases

If you are using the $PSE_DIR_[1-5] (or the $PSE_STANDARD) PS1 variable, you can set emoji display aliases for certain directories:

cd $HOME
psemoji alias set 🏑

# maybe you want to set another for a developer workspace directory
cd /path/to/my/dev/space
psemoji alias set 🚧

Now the $PS1_DIR_[1-5] section of your prompt will display 🏑 instead of ~ and 🚧 instead of /path/to/my/dev/dir.

You can see all of the aliases you have set with psemoji alias list.

You can also remove an alias with psemoji alias unset.

And SO MUCH MORE!!! (read the source, or let yourself be suprised)

Uninstall πŸ˜”

curl https://raw.githubusercontent.com/smurthas/psemoji/master/$(python -c 'import urllib; print urllib.quote_plus("πŸ‘Ž")') | bash