Skip to content

nikkicoll/bash-powerline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Powerline-style Bash prompt in pure Bash script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%