https://github.com/maxrodrigo/gitster
A Zim fork of shashankmehta's gitster prompt theme.
https://github.com/maxrodrigo/gitster
antigen oh-my-zsh uz zsh zsh-plugin zsh-theme zshrc
Last synced: 7 months ago
JSON representation
A Zim fork of shashankmehta's gitster prompt theme.
- Host: GitHub
- URL: https://github.com/maxrodrigo/gitster
- Owner: maxrodrigo
- License: mit
- Fork: true (zimfw/gitster)
- Created: 2020-07-23T17:01:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-02T07:03:27.000Z (over 4 years ago)
- Last Synced: 2024-07-30T21:09:29.683Z (about 1 year ago)
- Topics: antigen, oh-my-zsh, uz, zsh, zsh-plugin, zsh-theme, zshrc
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitster
A Gister zsh theme with no dependencies.

## What does it show?
* Red `➜` when last command failed, green otherwise.
* Current working directory, relative to the root when in a repo.
* Current branch name.
* Stage and Unstaged satus.## Features
Advanced settings
-----------------This theme can customized by changing the following git-info module context
formats, after the theme has been initialized:| Context name | Description | Default value |
| ------------ | ----------------- | ------------- |
| branch | Branch name | `%b` |
| commit | Commit short hash | `%c` |
| clean | Clean state | `%F{green}✓` |
| dirty | Dirty state | `%F{yellow}✗` |Use the following command to change the value of a context format:
zstyle ':zim:git-info:' format ''
For detailed information, check the [git-info documentation].
Requirements
------------* No extra dependecies. Uses zsh `vcs_info` module.
* Compatible with Git, Subversion, Mercurial.## Self Promotion
Checkout [μz](https://github.com/maxrodrigo/uz) a micro plugins manager for zsh.
[gitster]: https://github.com/shashankmehta/dotfiles/blob/master/thesetup/zsh/.oh-my-zsh/custom/themes/gitster.zsh-theme
['detached HEAD' state]: http://gitfaq.org/articles/what-is-a-detached-head.html
[git-info documentation]: https://github.com/zimfw/git-info/blob/master/README.md#theming
[git-info]: https://github.com/zimfw/git-info