KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
zsh-async-git-prompt
★ 8
Open GitHub ↗
Asynchronous Git prompt for Zsh
Download README (.md)
Explore Similar Repositories
test-suites
:
A read-only Git copy of the OpenBenchmarking.org test suites.
hacker-news-ios
:
Hacker News iOS App
dewordify
:
Prepare an online courses in MS Word and quickly convert it to clean HTML using this application
csec-hugo
:
No description available.
node-red-contrib-zeromq
:
ZeroMQ Pub/Sub nodes for Node-RED
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
zsh-async-git-prompt
?
Download (.md)
This Zsh script / plugin will put local Git repo status in your right side prompt (RPROMPT). The main difference between this plugin and standard `vcs_info` based prompts / themes is asynchronous computation. This makes the plugin _feel_ faster, although it really isn't, it just returns immediately and updates the status in the background. If your current prompt works fast enough, there's no need to switch to this plugin. The plugin is inspired by: 1) [Oh My Zsh git-prompt plugin](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/git-prompt), which in turn is based on an old version of [Olivier Verdier's plugin](https://github.com/olivierverdier/zsh-git-prompt), 2) Anish Athalye's [asynchronous prompt idea](http://www.anishathalye.com/2015/02/07/an-asynchronous-shell-prompt/). ## configuration You can set any the following variables before loading the plugin: - `$GIT_PROMPT_ORDER` - determines the order of elements (modified / staged / untracked etc.), - `$GIT_PROMPT_SYMBOLS` - what to display before each element, - `$GIT_PROMPT_INDENT_HACK` - try 0 or 1 if the prompt seems misaligned. ## screenshots Default configuration, clean repo, local branch equal to remote:  Local branch diverged from remote (1 commit behind, 2 commits ahead), 4 files modified, but not staged, 3 files staged, 2 conflicts, 1 untracked file:  Customized to look similar to powerline prompts (see async-git-prompt.config-example.zsh), clean:  With some changes: 