Home

Awesome

Lime

Simple standalone Zsh theme.

<img width="570" alt="Lime" src="demo/lime.png">

Colors are brought from Tomorrow Night.

Usage

Antigen

antigen bundle yous/lime

zgen

zgen load yous/lime

zplug

zplug "yous/lime"

zplugin

zplugin light yous/lime

oh-my-zsh

Clone this repository and make symbolic links to oh-my-zsh.

git clone https://github.com/yous/lime.git
cd lime
ln -s "$PWD/lime.plugin.zsh" ~/.oh-my-zsh/themes/lime.zsh-theme

Then select the theme in .zshrc:

ZSH_THEME="lime"

Options

LIME_SHOW_HOSTNAME

Set LIME_SHOW_HOSTNAME=1 to see the hostname when you're connecting via SSH. The default value is 0.

LIME_DIR_DISPLAY_COMPONENTS

The number of trailing components of the current working directory. If you set LIME_DIR_DISPLAY_COMPONENTS=3, it'll display ...bar/baz/qux when you're on ~/foo/bar/baz/qux. The default value is 0, which shows the whole path.

LIME_USER_COLOR

Color for user and hostname, between 0 and 255. Also you can set this with color names. For the full list of the colors, see this gist. The default value is 109 if you have 256 colors support, cyan otherwise.

LIME_DIR_COLOR

Color for the current directory, between 0 and 255. Also you can set this with color names. The default value is 143 if you have 256 colors support, green otherwise.

LIME_GIT_COLOR

Color for the current git status, between 0 and 255. Also you can set this with colors names. The default value is 109 if you have 256 colors support, cyan otherwise.

License

Copyright © Chayoung You. See LICENSE.txt for details.