Skip to content

Latest commit

 

History

History
84 lines (54 loc) · 1.99 KB

README.md

File metadata and controls

84 lines (54 loc) · 1.99 KB

Lime

Simple standalone Zsh theme.

Lime

Colors are brought from Tomorrow Night.

Usage

antigen bundle yous/lime
zgen load yous/lime
zplug "yous/lime"
zplugin light yous/lime

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.