A tty solarized theme using Ethan Schoonover’s Solarized color theme.
If you are looking for colors on your xterm, konsole, terminator, urxvt, guake, aterm and friends, please search a bit more. This script is for setting the colors on a linux TTY, the real terminal that you get if you are not running X
or wayland
.
- This theme as a single repository: tty-solarized
- The main solarized repository: solarized
Source either tty-solarized-dark.sh
or tty-solarized-light.sh
in the startup file of your shell. As this is only run on TTYs where usually a login shell is started, the login file of your shell (${ZDOTDIR:-$HOME}/.zlogin
for zsh or ~/.profile
for bash). Now the 'normal' names for colors are available to your applications.
- Clone this repo to
~/.oh-my-zsh/custom/plugins/tty-solarized
- Add
tty-solarized
to theplugins
variable in~/.zshrc
(separate via space) - [optionally] Add
zstyle
line right afterplugins
var (it must be before the source line!):
zstyle :omz:plugins:tty-solarized theme-shade "light"
# or:
zstyle :omz:plugins:tty-solarized theme-shade "dark"
# other values are not supported, "dark" is default
Included is also the awk-script used to generate those two files. Would the color scheme be changed upstream, anyone with gawk installed can update these files.