A customized Haskell implementation of Powerline for Bash
This is a bash shell prompt that mimics the popular powerline style. More specifically, it is a Haskell port of powerline-shell from Python. I only kept the segments that matter to me. You can add your own.
To produce the binary, run
$ make build
and test it by running
$ ./powerline 0
If nothing terrible happens and the result looks like ANSI PS1 gibberish with powerline symbols thrown in, you are probably good to go, so add
source <path-to-repo>/setup.sh
to your .bashrc
file. If the symbols do not show up, you probably need a powerline font.