Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avil13/sh-git-prompt

My personnal git-prompt, in pure shellscript.
https://github.com/avil13/sh-git-prompt

Last synced: 19 days ago
JSON representation

My personnal git-prompt, in pure shellscript.

Awesome Lists containing this project

README

        

# sh-git-prompt

My personnal git-prompt, in pure shellscript.

Currently tested with Bash on Linux and iTerm2 on macOS

![sh-git-prompt](assets/shell.jpg)

To use it, simply `source prompt.sh` in your `.bashrc` or `.bash_profile`.

Show:
- ↑ - needed push
- ↓ - needed pull
- ✔ - nothing to commit
- ● - added files
- ✚ - edited files
- ✖ - deleted files
- ? - no added files
- ≡ - stash
- ⊗ - count merge conflict

Looks like this:
```bash
[master✔|+2 ?1] user@localhost:~/scripts
$
```