Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.03 KB

bash-powerline

Powerline for Bash in pure Bash script.

Features

  • Git branch: display current git branch name, or short SHA1 hash when the head is detached
  • Git branch: display "+" symbol when current branch is changed but uncommited
  • Git branch: display "⇡" symbol and the difference in the number of commits when the current branch is ahead of remote
  • Git branch: display "⇣" symbol and the difference in the number of commits when the current branch is behind of remote
  • Fast execution (no noticable delay)
  • No need for patched fonts

Installation

Download the Bash script.

$ curl https://raw.githubusercontent.com/nikkigalusha/bash-powerline/master/bash-powerline.sh > ~/.bash-powerline.sh

Then source it in your .bash_profile (or .bashrc).

$ echo -e "\nsource ~/.bash-powerline.sh" >> ~/.bash_profile

This command line prompt is based on the phenomenal bash-powerline by riobard.