mlilley / zshrc

Customized ZSH prompt and shell configuration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZSHRC

prompt example

Features

  • 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

Usage

Copy .zshrc and .zshprompt to your home dir, then tweak your terminal client settings as per below.

Iterm2

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)

Apple Terminal

Terminal requires installation and use of a font with Powerline glyphs, see:

Home/End keys

Different platforms need different keycodes mapped; if these keys don't work out-of-the-box, try the included alternate mappings.

Color Schemes

Adjust SCHEME variable in .zshprompt.

color schemes

About

Customized ZSH prompt and shell configuration.


Languages

Language:Shell 100.0%