puntonim / promptastic

A fantastic prompt for Bash
http://painl.es/promptastic/
Apache License 2.0
81 stars 16 forks source link

Ability to specify order of segments and prompt on one line #23

Closed saxbophone closed 2 years ago

saxbophone commented 8 years ago

Hi, awesome project! I just couldn't get Powerline's git plugin configured on my Ubuntu box and this works a charm!

My Setup:

promptastic

Aim :smile::

zsh-git

Let me know your thoughts, I might be able to hack on this project a bit :wink: :hammer:

saxbophone commented 8 years ago

Okay so after forking and hacking around on this project a bit I ended up with the prompt style I wanted which looks like this:

screenshot from 2015-11-21 15-03-15

You can see the diff from my fork and personal branch vs the main repo at master here: https://github.com/nimiq/promptastic/compare/master...saxbophone:personal-modifications?expand=1

Going forward, I wonder if it would be worth adding to this project the ability to customise the appearance of the prompt without having to hack around with the Python functions and classes in the codebase, but rather from just editing the config file? If you think this would be a worthwhile feature then I'd be happy to spend some time working on this feature myself.

puntonim commented 8 years ago

Hey Joshua, I like your suggestions and your work! Honestly I intentionally split the prompt into 2 lines, cause I like the cursor the be always in the same position, so my eyes always know where to find it quickly. But any extra feature/configuration that you want to add and that doesn't break the current features is more than welcome, so feel free to open pull requests!

Good luck and thank you for your contribution! Paolo