forked from jcorbin/zsh-git
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
23 lines (16 loc) · 768 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ZSH-GIT based on http://www.wunjo.org/zsh-git
The git integration bits are mostly separated into a module called 'zgitinit',
where as the prompt is a standard zsh prompt theme.
Obtain zsh-git:
% git clone git://github.com/olemarkus/zsh-git.git zsh-git
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:
# cp zsh-git/functions/* /usr/share/zsh/site-functions
or just for your user:
% mkdir -p ~/.zsh/functions
% cp /zsh-git/functions/* ~/.zsh/functions
% echo "fpath=($fpath $HOME/.zsh/functions)
typeset -U fpath" >> ~/.zshenv
If you want, you can also just clone the repos directly into .zsh/functions or /usr/share/zsh/site-functions
Example minimal zshrc is in zshrc.