Skip to content

smurthas/psemoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚲🙊🌻⛅️🌵🐸🎩🐳⚡️🍀🎃🌚🐙📼

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

About

Get some emoji in your prompt!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages