Skip to content

hmasila/sheng-zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

image

Sheng-zsh

Sheng-zsh is a oh-my-zsh theme that adds emojis and sheng messages to your zsh terminal. Sheng will display a good emoji and message such as 👌 Hapo sawa on your prompt whenever commands run smoothly and bad emojis such as 🙄 Sipendagi ujinga whenever things go wrong.

Introducing Sheng

sheng

Setup

To set up the theme. Ensure that you have oh-my-zsh installed and setup on your terminal.

Clone the repo or download sheng.zsh-theme file.

$ git clone https://github.com/andela-hmasila/sheng-zsh.git

Copy sheng.zsh-theme to ~/.oh-my-zsh/custom/themes/. This is where your custom themes live.

$ cp /path/to/sheng.zsh-theme ~/.oh-my-zsh/custom/themes/

Change your zsh theme to sheng in your .zshrc file.

$ vim ~/.zshrc

ZSH_THEME='sheng'

Restart your terminal and Voila! Sheng is gauging your inteligence 😂.

Usage

Sheng generates random emojis and messages every time you start up your terminal.

To generate a new set of emojis and messages just run badilisha

$ badilisha

You can also run bonga to remind yourself your emoji and messages et.

$ bonga

Customization

Sheng is pretty customizable.

If you prefer to have a constant set of emojis just set your goodemoji and bad emoji in .zshrc as follows.

For good emojis, set $POA to one of the following: fire muscle pointright facepunch smile sunglasses and your bad emoji to one of the following: rollingeyes pouting confused flushed middlefinger worried

$POA='fire'
$MBAYA='rollingeyes'

Then reload your zsh configuration.

$ source ~/.zshrc

You can also add your own emojis to the supported set. Just add the emoji name to one of the arrays; goodemojis or bademojis. Then add the emoji and message to the respective array with the name as the key and the emoji + message as the value.

Contributing

Feel free to contribute, even if it's to add an emoji. 😉 Just fork it 🍴 and raise a pull request.

Credits

This projects borrows from Austin Kabiru's theme. Not forgetting oh-my-zsh itself. 😄

About

An oh-my-zsh for your terminal that communicates in sheng

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published