Skip to content

egi/zsh-git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

This is my attempt to bring git-enabled zsh prompt into the zsh-template-osx
framework (http://code.google.com/p/zsh-templates-osx/), based on the work of
jcorbin. I manage to install this by putting all the scripts under functions
directory in the /Library/init/zsh/zshrc.d/local-functions/general/ directory.

My version is actually a backward-compatibility hack to zsh version 4.3.4,
available by default on OSX Leopard.

ORIGINAL README

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

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.

About

Towards better Zsh Git integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published