Skip to content

uu1t/hanpen.zsh-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hanpen.zsh-theme

Build Status

🎨 Hanpen Oh My Zsh theme

screenshot

Dependencies

Optional dependencies

Installation

Zgen

# Load Oh My Zsh
zgen oh-my-zsh

# Or load dependent libs explicitly
zgen load robbyrussell/oh-my-zsh lib/git.zsh
zgen load robbyrussell/oh-my-zsh lib/theme-and-appearance.zsh

# Load zsh-async (optional)
zgen load mafredri/zsh-async async.zsh

# Then load this theme
zgen load uu1t/hanpen.zsh-theme hanpen.zsh-theme

Features

  • Show git branch and status.
  • Show exit status except for 0 (success).
  • Show command execution time longer than ZSH_THEME_HANPEN_CMD_MAX_EXEC_TIME (default: 5) seconds.
  • Colorize less(1) in man pages and with GNU Source-highlight.

Recommended usage

  • Use powerline-patched fonts.
  • Locate a theme for GNU dircolors on ~/.dircolors or assign the path to ZSH_THEME_HANPEN_DIRCOLORS_THEME_PATH variable.
  • Install GNU Source-highlight src-hilite-lesspipe.sh into a directory in $PATH.
  • Install sindresorhus/pretty-time-zsh.

Others

In the screenshot, followings are used:

License

MIT