Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.62 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.62 KB

cravend.theme

Default light theme

This is my custom ZSH theme, which I feel is a nice balance between being informative and overwhelming.

Installation

First, download the file:

curl -o $ZSH_CUSTOM/themes/cravend.zsh-theme \
https://raw.githubusercontent.com/cravend/theme/main/cravend.zsh-theme

Then, define your custom theme in .zshrc:

export ZSH_THEME="cravend"

If you want the optional right-aligned battery display, add the battery script to /usr/local/bin:

curl -o /usr/local/bin/battery \
https://raw.githubusercontent.com/cravend/theme/main/battery.sh

This script hasn't been tested except on macOS.

Features

  • color-coded git symbols (new, modified, etc)
  • sane defaults (hide the hostname when you're not in a SSH session)

Notes

I think this looks best using the base16_tomorrow and base16_tomorrow-night-eighties themes, so I wrote autodark to help automate switching. You should check it out!

Screenshots

Home light theme Home dark theme
Path light theme Path dark theme
SSH light theme SSH dark theme