/cool-zsh

Primary LanguageShellMIT LicenseMIT

cool: a zsh theme

preview:

Screen Shot 2023-09-25 at 1 56 23 PM

setup how-to

I'd recommend installing powerline patched fonts: https://github.com/powerline/fonts

This theme goes best with a solarized-dark terminal. (I use VSCode & set the color theme of my editor to solarized dark)

To install, clone the repo & move the theme into your zsh themes directory: 1.

git clone https://github.com/soybean/cool-zsh.git; cd cool-zsh; cp cool.zsh-theme ~/.oh-my-zsh/themes

Open your .zshrc and set the theme like so:

ZSH_THEME="cool"

Cleanup:

cd ..; rm -rf cool-zsh

You can also experiment with other color gradients:

Screen Shot 2023-09-25 at 11 47 38 AM Screen Shot 2023-09-25 at 11 50 03 AM

If you'd like to customize the colors yourself, run this block of code in your terminal & you'll see the full 256 terminal colors:

for COLOR in {0..255} 
do
    for STYLE in "38;5"
    do
        TAG="\033[${STYLE};${COLOR}m"
        STR="${STYLE};${COLOR}"
        echo -ne "${TAG}${STR}${NONE}  "
    done
    echo
done

output:

Screen Shot 2023-09-25 at 11 43 05 AM

Footnotes

  1. path to your themes directory may vary, replace oh-my-zsh/themes with your path