Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/avil13/sh-git-prompt
- Owner: avil13
- Created: 2015-01-27T09:10:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-17T01:38:02.000Z (almost 6 years ago)
- Last Synced: 2024-10-11T17:18:09.565Z (about 1 month ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 conflictLooks like this:
```bash
[master✔|+2 ?1] user@localhost:~/scripts
$
```