Powerline for Bash in pure Bash script.
lstree command.
- 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
Download the Bash script.
$ curl https://raw.githubusercontent.com/bcmarinacci/bash-powerline/master/bash-powerline.sh > ~/.bash-powerline.sh
Then source it in your .bash_profile
(or .bashrc
).
$ echo source ~/.bash-powerline.sh >> ~/.bash_profile
The theme used in the screenshot is Tomorrow Night Eighties.