https://github.com/danieldietrich/gitprompt.sh
A beautiful git prompt for zsh and bash.
https://github.com/danieldietrich/gitprompt.sh
bash git prompt shell terminal zsh
Last synced: 11 days ago
JSON representation
A beautiful git prompt for zsh and bash.
- Host: GitHub
- URL: https://github.com/danieldietrich/gitprompt.sh
- Owner: danieldietrich
- License: mit
- Created: 2022-01-01T10:19:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T10:02:40.000Z (over 1 year ago)
- Last Synced: 2025-01-20T14:29:41.389Z (about 1 year ago)
- Topics: bash, git, prompt, shell, terminal, zsh
- Language: Shell
- Homepage: https://gitprompt.sh
- Size: 343 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - gitprompt.sh - Works with both `bash` and `git`. 256 color support. Includes decorators for `git` status and current directory. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - gitprompt.sh - Works with both `bash` and `git`. 256 color support. Includes decorators for `git` status and current directory. (Themes / ZSH on Windows)
README
# ❯_ gitprompt
A beautiful git prompt for zsh and bash.
## Features
* 256 colors support
* Show current directory
* Show git branch, status and push state
## Usage
| Szenario | Command | Description |
| --------- | --------------------------------- | ------------------------------------------------- |
| ad-hoc | `. <(curl gitprompt.sh)` | Use **gitprompt** in the current terminal session |
| permanent | `curl gitprompt.sh/install \| sh` | Install **gitprompt** in your home directory and alter the PATH. |
| manual | `curl -sL https://gitprompt.sh > "$HOME/.gitprompt"` | Download **gitprompt** to your home directory. Load it by running `. ~/.gitprompt &>/dev/null` |
For customization see [.gitprompt](./docs/index.html) file.