Skip to content

simple zsh git prompt using libgit2 for speed πŸš€

License

Notifications You must be signed in to change notification settings

avetisk/zsh-git-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

zsh-git-prompt

simple zsh git prompt using libgit2 for speed πŸš€

install

Be sure to have libgit2 installed!

OSX

brew install libgit2
git clone git@github.com:avetisk/zsh-git-prompt.git path/to/opt
cd /path/to/opt/zsh-git-prompt
pip install -r requirements.txt

Then in your .zshrc:

local git_prompt=$(eval echo -n $(/path/to/opt/zsh-git-prompt/zsh-git-prompt))
export PS1="$git_prompt >"

You can of course make a symlink to your /usr/local/bin in order to avoid the long path.

licence

MIT

About

simple zsh git prompt using libgit2 for speed πŸš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages