- time, path, git info (branch with dirty/clean status), last exitcode
- improved prompt visibility including bold command text
- enhanced tab completion including within git
- change directories without having to type 'cd'
- working home/end keys (macos)
- choice of color schemes
Copy .zshrc
and .zshprompt
to your home dir, then tweak your terminal client settings as per below.
Iterm2 needs a couple tweaks:
- enable Powerline glyphs (Preferences > Profiles > Default > Text > Use built-in Powerline glyphs)
- import and apply provided
xterm.itermcolors
file for proper xterm256 colors (Preferences > Profiles > Default > Colors > Color Presets)
Terminal requires installation and use of a font with Powerline glyphs, see:
- https://github.com/supermarin/powerline-fonts
- https://gist.github.com/lujiacn/32b598b1a6a43c996cbd93d42d466466
Different platforms need different keycodes mapped; if these keys don't work out-of-the-box, try the included alternate mappings.
Adjust SCHEME
variable in .zshprompt
.