forked from jcorbin/zsh-git
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
34 lines (24 loc) · 1.11 KB
/
README
File metadata and controls
34 lines (24 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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.