Skip to content
/ zshrc Public

Customized ZSH prompt and shell configuration.

Notifications You must be signed in to change notification settings

mlilley/zshrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages