dosentmatter / rainbow-zsh-prompt

Make your zsh prompt rainbow
20 stars 6 forks source link

rainbow-zsh-prompt

rainbow-zsh-prompt makes your zsh prompt rainbow by using dosentmatter/lolcat.

If you are looking for a rainbow prompt for bash, check out dosentmatter/rainbow-bash-prompt

rainbow-zsh-prompt is a zsh port of dosentmatter/rainbow-bash-prompt.

This demo is from rainbow-bash-prompt, but they function pretty much the same. demo

Installation

Tested on macOS Sierra (Terminal and iTerm2)

  1. Install C implementation of dosentmatter/lolcat for speed.
    • That is a fork of jaseg/lolcat with a minor change to make the colors pseudo random.
    • Put the binary in your $PATH and name it lolcat-c
  2. copy .zsh_prompt to your $HOME directory
  3. Add this to your .zshrc:
    if [[ -f ~/.zsh_prompt ]]; then
    . ~/.zsh_prompt
    fi

Use