A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/arlimus/zero.zsh below:

arlimus/zero.zsh: theme and configuration plugin for zsh with oh-my-zsh

Consists of a theme and a plugin. They can be used independently. Both have to be activated explicitly.

Please run the installation of oh-my-zsh before installing zero.zsh. Afterwards run:

curl https://raw.githubusercontent.com/arlimus/zero.zsh/master/bootstrap.sh | sh -

Alternatively:

git clone https://github.com/arlimus/zero.zsh.git
cd zero.zsh
./install.sh

Now enable it in your ~/.zshrc:

# set zero-dark or zero-light as the theme
ZSH_THEME="zero-dark"

# add zero to the list of plugins
plugins=(git zero)

Reload your zsh and you are ready to go.

Set theme to zero-dark if you have a dark terminal (white text on black background):

Set theme to zero-light if you have a light terminal (black text on white background):

If you want to quickly change the theme, use the plugin (see below). This will provide shortcut commands for theming:

dark_theme        # sets theme to zero-dark
light_theme       # sets theme to zero-light

There are also theme-related commands:

zsh_reload_theme             # quickly reload zsh
zsh_load_theme "zero-dark"   # load a theme, eg this theme

References:

If you want to further edit the theme, have a look at zero-dark.zsh-theme or zero-light.zsh-theme respectively. You can quickly see all important configuration options.

For example, if you don't like:

and want:

add this at the end of your .zshrc:

export ZSH_THEME_PROMPT_CHAR_USER="∅"

Please see plugins/zero/zero.plugin.zsh. All changes are well documented.

Short reference:

I'd love to hear your opinion! Feel free to add issues, or contributions, or drop me a line.

License: Apache v2


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4