Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Towards better Zsh Git integration
branch: master

Merge pull request #10 from suraia/branch-slashes

Support branches with slashes
latest commit 3b4b81e86b
Joshua T Corbin authored
Failed to load latest commit information.
functions Support branches with slashes.
LICENSE Add LICENSE file
README Note homepage in README.
TODO Add TODO file.
zshrc Revert "Set needed option from theme instead of zshrc."

README

http://www.wunjo.org/zsh-git

This is my git-enabled zsh prompt.

I got fed up with looking at everyone's half-baked kludges, so I decided to try
to do better.

The git integration bits are mostly separated into a module called 'zgitinit',
where as the prompt is a standard zsh prompt theme.

To use this, you need to get the files in functions somewhere that zsh can find
them, here's two way so to do that:

System wide:
  % sudo cp /path/to-wunjo-zsh-git/functions/* /usr/local/share/zsh/site-functions

or just for your user:
  % mkdir -p ~/.zsh/func
  % cp /path/to-wunjo-zsh-git/functions/* ~/.zsh/func
  % cat >> ~/.zshenv
  fpath=($fpath $HOME/.zsh/func)
  typeset -U fpath

Example minimal zshrc is in zshrc.
Something went wrong with that request. Please try again.