{"repo":"woefe/git-prompt.zsh","free":true,"listed":false,"github":"https://github.com/woefe/git-prompt.zsh","clone":"git clone https://github.com/woefe/git-prompt.zsh.git","description":"A fast, customizable, pure-shell, asynchronous Git prompt for Zsh","language":"Shell","stars":295,"topics":["zsh","prompt","git","zsh-plugin","zsh-prompt"],"license":null,"category":"cli-tools","readme_excerpt":"A fast, customizable, pure-shell, asynchronous Git prompt for Zsh. It is heavily inspired by Olivier Verdier's zsh-git-prompt and very similar to the \"Informative VCS\" prompt of fish shell. Prompt Structure The structure of the prompt (in the default configuration) is the following: branch name : Name of the current branch or commit hash if HEAD is detached. When in 'detached HEAD' state, the branch name will be prefixed with a colon : to indicate that it is actually a hash and not a branch name. upstream : Name of the remote branch if it exist. Must be enabled explicitly (see Enable remote branch info). tracking status : ↑n : ahead of remote by n commits ↓n : behind remote by n commits ↓m↑n : branches diverged; other by m commits, yours by n commits local status : ✔ : repository is clean ✖n : there are n unmerged files ●n : there are n staged files ✚n : there are n unstaged and changed files …n : there are n untracked files ⚑n : there are n entries on the stash (disabled by default) Installation Dependencies Git with --porcelain=v2 support, which is available since version 2.11.0. You can check if your installation is compatible by executing git status --branch --porcelain=v2 inside a Git repository. awk, which is most certainly preinstalled on any \\ nix system Manual installation Clone this repo or download the git-prompt.zsh file. Then source it in your .zshrc . For example: Zplug Either install the default prompt (see Examples section below) with or choose an example prom","default_branch":null,"files":null,"tree":[],"storefront":"/r/woefe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/woefe/git-prompt.zsh/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}