Home

Awesome

Planet theme for zsh

What?

It's a theme for zsh. It was intended to be a slimmed down version of steeef from oh-my-zsh.

Features:

Installation

Use antigen to install this theme.

antigen theme aphlor/planet-zsh planet

oh-my-zsh is not required. Purists can store and source the theme directly if they wish.

How do I do a use with this?

Three variables define how the prompt appears by default. You can set them up in your .zshrc or .zprofile prior to the planet theme being activated.

OptionValuesDescription
__planetprompt_opt_giton/offEnable or disable the git prompt support. Defaults to off.
__planetprompt_opt_chrooton/offDisplay the current schroot in the prompt. Defaults to off.
__planetprompt_opt_shadedark/lightAdjust the colours for background suitability. Defaults to dark.

git and chroot can also be adjusted during normal shell operation. For example, to turn on git prompt:

planet git on

And to turn off chroot display:

planet chroot off

Values do not persist between shell sessions.