🎨 Hanpen Oh My Zsh theme
- Oh My Zsh
(specifically lib/git.zsh and lib/theme-and-appearance.zsh in Oh My Zsh)
# 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
- Show git branch and status.
- asynchronously if zsh-async is installed.
- 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.
- Use powerline-patched fonts.
- Locate a theme for GNU dircolors on
~/.dircolorsor assign the path toZSH_THEME_HANPEN_DIRCOLORS_THEME_PATHvariable. - Install GNU Source-highlight
src-hilite-lesspipe.shinto a directory in$PATH. - Install sindresorhus/pretty-time-zsh.
In the screenshot, followings are used:
- zsh-syntax-highlighting
- Tomorrow Night in iTerm2-Color-Schemes
dircolors.256darkin dircolors-solarized- Source Code Pro
MIT
