A simple powerline prompt for Bash with 2 columns (no python)
The prompt provides the following information:
- Folder icon for:
- Git folder with provider icon
- Home folder
- Dropbox folder
- Hostname (when connecting via SSH)
- Current path
- Git status
- Previous exit code
- Battery status
- sudo cached credentials
Changes according to current path.
Git Folder (no provider)
Shows hostname when connecting via SSH.
Shows git information on prompt.
1 untracked file and 1 uncommitted change.
All work is committed and pushed.
Work is committed and ahead of remote.
exit non zero
Indicates cached sudo password.
powerline-2column.bash to your machine (optionally make it hidden) and source it on your
Additional fonts needed.
apt install fonts-powerline ** nerd-fonts
You can also disable the battery and sudo info display by changing the two values to
n in the script.