Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.82 KB

README.md

File metadata and controls

64 lines (43 loc) · 1.82 KB

Powerline for Prezto ZSH

Features

  • Single line prompt
  • Git branch info (current branch and modified states)
  • Time since last commit
  • Current ruby version via ruby-info

Example

Dependencies

Installation

# Install YADR
git clone https://github.com/skwp/dotfiles ~/.yadr
cd ~/.yadr && rake install

# Create a ~/.secrets file (required by YADR)
touch ~/.secrets

# Install the prompt
curl https://raw.github.com/sebastianpicklum/prezto_shpowerline/master/prompt_powerline_setup > ~/.zsh.prompts/prompt_powerline_setup

# Install Solarized
git clone https://github.com/altercation/solarized
cd solarized

# e.g. for iTerm
cd iterm2-colors-solarized/
open Solarized\ Dark.itermcolors
# this should load the colours for iTerm, but they are not configured yet

# in iTerm2 open preferences 
#   profiles > default > colours > load presets > Solarized Dark
#   profiles > default > terminal > report terminal type > "xterm-256color"

# Enable
echo "prompt shpowerline" > ~/.zsh.after/prompt.zsh

Inspiration

Based on the great

which was inspired by:

TODO

  • Powerline font support
  • nvm version info support
  • color optimization
  • increase configurability
  • more intelligent functions