yous / lime

Simple standalone Zsh theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple standalone Zsh theme

License:MIT License


Languages

Language:Shell 100.0%