April 26, 2017

ghetto bash-prompt git-status

There are tons of awesome and beautiful bash-prompt and zsh-prompt git-status scripts out there.
https://duckduckgo.com/?q=bash+prompt+git+status&t=ffab&ia=software

You can find stuff like this for zsh and bash:


But this is NOT that.

I’m not a heavy developer, i just wanted something quick and easy. Enter my “ghetto bash-prompt git-status”



This will NOT change your existing prompt, it simply executes as the last instruction before your prompt is displayed.

If you want something better, look into:
- https://github.com/magicmonty/bash-git-prompt
- https://gist.github.com/clux/864a4168712b9c28515a27de77f7c503
- https://github.com/riobard/bash-powerline
- https://github.com/taketwo/powerline-shell
- https://github.com/brujoand/sbp
- http://volnitsky.com/project/git-prompt/


~~~

No comments:

Post a Comment

Comments, Suggestions or "Thank you's" Invited! If you have used this info in any way, please comment below and link/link-back to your project (if applicable). Please Share.
I accept Bitcoin tips of ANY amount to: 1GS3XWJCTWU7fnM4vfzerrVAxmnMFnhysL
I accept Litecoin tips of ANY amount to: LTBvVxRdv2Lz9T41UzqNrAVVNw4wz3kKYk