You are not logged in.

#1 2018-01-06 15:33:51

chris.m
Member
Registered: 2014-04-06
Posts: 24

PureLine - Simple And Customizable Bash PowerLine Prompt

Hey All,

I know there is a lot of PowerLine style prompts out there, but nothing fitted what I was looking for, so I've developed this. My aims where;

* 100% Bash script
* Simple single file to source
* Easy customization with optional config file
* Easy to extend with new modules/segments

I wanted the prompt to be as simple or as busy as anyone could need. It can be a fancy looking '$' or all singing and dancing. The prompt currently has optional segments for;

* Time
* Battery Power
* Hostname
* Directory name or path
* Indicator if directory is read-only
* Git repository status indicators
* Python virtual environment indicator
* Prompt to show the last commands return code
* Indictor for number of background jobs

I think I've achieved what I set out to do, but I'd love some feedback. The project is: PureLine on GitHub

Some images ...

img1
img2
img3
img4

Any feedback would be greatly appreciated!

Cheers.

Offline

Board footer

Powered by FluxBB