summaryrefslogtreecommitdiff
path: root/README
blob: b624ac265ef5bbb06682eaee9e137044008b3328 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
GIT Prompt for BASH
 
    Screenshots and docs at: http://volnitsky.com/project/git-prompt
 
 
INSTALL
 
Put following command in our profile in interactive section:
 
. /path/to/git-prompt.sh
 
If there are no interactivity test, then above command should be:
 
[[ $- == *i* ]] && . /path/to/git-prompt.sh
 
 
DEPENDENCY
 
Most of dependencies (except git and svn) are probably already installed on your host. 
 
bash (tested with v3.2.33) 
git (optional)
svn (optional)
sed
tput (terminfo)
tty (core utils)
grep
locale (glibc)
id  (core utils)
 
 
TODO
- git locked state if .git/index.lock exist
- external config at /etc/git-prompt.conf  and ~/.git-prompt.conf
- avoid wrapping to 2nd line if file list is too long - check current terminal width
- new mail (howto at: http://kikhome.net/?p=11)
- ^Z subshell indicator
- wiki/screenshots for labels and svn module
- VIM module needs to be moved out of GIT module
- make module (to show generated, stale files)
- How detect current merge?  (current method through .git/MERGE_HEAD not always works)
DONE
- TO FIX: when file list is too long, git-prompt truncates it.  Sometimes this truncation can be on color escape sequence.  
- limit number of files displayed
        
 
leonid@volnitsky.com
http://github.com/lvv/git-prompt/tree/master