summaryrefslogtreecommitdiff
path: root/git-prompt.conf
blob: a6eab1e241442ee4dc40bba803d6cdeb5235e55b (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
 
###  GIT-PROMPT.SH CONFIG
###
###    lines commented-out with single '#' are default values
###    lines commented-out with double '##' are examples
###
###    NOTE: this is bash syntax - no spaces around "="
 
###########################################################
 
# error_bell=off                # sound terminal bell when command return code is not zero. (use setterm to set pitch and duration)
# max_file_list_length=100      # in characters
 
 
############################################################   MODULES
 
# git_module=on
# svn_module=off
# hg_module=on
# vim_module=on
 
 
###########################################################   DEFAULT OBJECTS
###  Default objects are not displayed.  Example:
 
## default_user=lvv             
## default_host="ahp"                   # remote host is always shown
## default_domain="lvvnet"      
 
###########################################################   CWD
#  cwd_cmd='\w'                 # display full path
## cwd_cmd='\W'                 # display only last dir of path
## cwd_cmd='cwd_truncate 40'    # display only last N chars of path
 
###########################################################   ETC
 
# upcase_hostname=on # =off
 
###########################################################   COLOR 
 
###  directory, exit code, root color 
 
# if [ 0`tput colors` -ge 8 ];  then            #  if terminal supports colors
        #       dir_color=CYAN
        #       rc_color=red
        #       root_id_color=magenta
# else                                          #  B/W terminal
        #       dir_color=bw_bold
        #       rc_color=bw_bold
# fi
 
 
#####  Per host color.  
 
### Per host color.  If not set, color will be derived from name of host checksum).
### Variable name is uppercase-short-hostname with appended "_host_color"
### Example per-host-color config:  
 
##          TASHA_host_color=cyan
##             AL_host_color=green
##            AHP_host_color=white
 
 
#####  VCS (version control system)  state colors
 
#                init_vcs_color=WHITE     # initial
#               clean_vcs_color=blue      # nothing to commit (working directory clean)
#            modified_vcs_color=red       # Changed but not updated:
#               added_vcs_color=green     # Changes to be committed:
#               mixed_vcs_color=yellow    # 
#           untracked_vcs_color=BLUE      # Untracked files:
#                  op_vcs_color=MAGENTA
#            detached_vcs_color=RED
 
 
# :vim:ft=sh ts=8 sw=8 et: