Beautiful powerline-style prompt written in pure bash, simple and very fast.
Prints username and current path. Too long paths are shortened. Customizable colors.
Download powerline.sh file to your machine and include it in your .bash_profile
and/or .bashrc
files:
source "/path/to/powerline.sh"
That's all!
You can customize colors and appearance, just look inside powerline.sh.
Color numbers can be found here: Bash tips: Colors and formatting
This script is licensed under the MIT license.