Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Shell
branch: master
Failed to load latest commit information.
README.md Fix 2 typos
base16-3024.dark.sh Fix Permissions
base16-3024.light.sh Fix Permissions
base16-apathy.dark.sh Fix Permissions
base16-apathy.light.sh Fix Permissions
base16-ashes.dark.sh Fix Permissions
base16-ashes.light.sh Fix Permissions
base16-atelierdune.dark.sh Fix Permissions
base16-atelierdune.light.sh Fix Permissions
base16-atelierforest.dark.sh Fix Permissions
base16-atelierforest.light.sh Fix Permissions
base16-atelierheath.dark.sh Fix Permissions
base16-atelierheath.light.sh Fix Permissions
base16-atelierlakeside.dark.sh Fix Permissions
base16-atelierlakeside.light.sh Fix Permissions
base16-atelierseaside.dark.sh Fix Permissions
base16-atelierseaside.light.sh Fix Permissions
base16-bespin.dark.sh Fix Permissions
base16-bespin.light.sh Fix Permissions
base16-brewer.dark.sh Fix Permissions
base16-brewer.light.sh Fix Permissions
base16-bright.dark.sh Fix Permissions
base16-bright.light.sh Fix Permissions
base16-chalk.dark.sh Updated with base16-builder
base16-chalk.light.sh Fix Permissions
base16-codeschool.dark.sh Fix Permissions
base16-codeschool.light.sh Fix Permissions
base16-colors.dark.sh Updated with base16-builder
base16-colors.light.sh Updated with base16-builder
base16-default.dark.sh Updated with base16-builder
base16-default.light.sh Fix Permissions
base16-eighties.dark.sh Updated with base16-builder
base16-eighties.light.sh Fix Permissions
base16-embers.dark.sh Fix Permissions
base16-embers.light.sh Fix Permissions
base16-flat.dark.sh Fix Permissions
base16-flat.light.sh Fix Permissions
base16-google.dark.sh Fix Permissions
base16-google.light.sh Fix Permissions
base16-grayscale.dark.sh Fix Permissions
base16-grayscale.light.sh Fix Permissions
base16-greenscreen.dark.sh Updated with base16-builder
base16-greenscreen.light.sh Fix Permissions
base16-harmonic16.dark.sh Fix Permissions
base16-harmonic16.light.sh Fix Permissions
base16-isotope.dark.sh Fix Permissions
base16-isotope.light.sh Fix Permissions
base16-londontube.dark.sh Fix Permissions
base16-londontube.light.sh Fix Permissions
base16-marrakesh.dark.sh Fix Permissions
base16-marrakesh.light.sh Fix Permissions
base16-mocha.dark.sh Updated with base16-builder
base16-mocha.light.sh Fix Permissions
base16-monokai.dark.sh Updated with base16-builder
base16-monokai.light.sh Fix Permissions
base16-ocean.dark.sh Updated with base16-builder
base16-ocean.light.sh Fix Permissions
base16-paraiso.dark.sh Fix Permissions
base16-paraiso.light.sh Fix Permissions
base16-pop.dark.sh Fix Permissions
base16-railscasts.dark.sh Updated with base16-builder
base16-railscasts.light.sh Fix Permissions
base16-shapeshifter.dark.sh Fix Permissions
base16-shapeshifter.light.sh Fix Permissions
base16-shell.png Updates screenshot with sRGB version
base16-solarized.dark.sh Updated with base16-builder
base16-solarized.light.sh Fix Permissions
base16-summerfruit.dark.sh Fix Permissions
base16-summerfruit.light.sh Fix Permissions
base16-tomorrow.dark.sh Updated with base16-builder
base16-tomorrow.light.sh Fix Permissions
base16-twilight.dark.sh Fix Permissions
base16-twilight.light.sh Fix Permissions
colortest Updated with base16-builder
setting-256-colourspace-not-supported.png Updates unsupported image with sRGB version.

README.md

Base16 Shell

A shell script to change your shell's default ANSI colors but most importantly, colors 17 to 21 of your shell's 256 colorspace (if supported by your terminal). This script makes it possible honor the original bright colors of your shell (e.g. bright green is still green and so on) whilst providing the additional base16 colors to applications such as Vim.

Base16 Shell

Use Cases

  • You want to use a *.256.* variant of a Terminal theme designed to honor the original bright colors.
  • You prefer to use a script instead of a terminal emulator theme to color your shell.
  • You use this script to have different colorschemes appear on different SSH sessions.

Installation

git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell

Shells

Bash/ZSH

In ~/.bashrc or ~/.zshrc place the following lines:

# Base16 Shell
BASE16_SHELL="$HOME/.config/base16-shell/base16-default.dark.sh"
[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL

Fish

In config.fish place the following lines:

# Base16 Shell
eval sh $HOME/.config/base16-shell/base16-default.dark.sh

Troubleshooting

Run the included colortest script and check that your colour assignments appear correct. If your teminal does not support the setting of colours in within the 256 colorspace (e.g. Apple Terminal), colours 17 to 21 will appear blue.

setting 256 colourspace not supported

If colortest is run without any arguments e.g. ./colortest the hex values shown will correspond to the default scheme. If you'd like to see the hex values for a particular scheme pass the file name of the theme as the arguement e.g. ./colortest base16-ocean.dark.sh.

Something went wrong with that request. Please try again.