diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-15 11:29:10 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-15 12:39:08 +0300 |
commit | 64e0b518e9dde1498ba3301561367db3a24fec22 (patch) | |
tree | 27776297f6f2ae797acf4fe026b70c2e70966103 | |
parent | eval-s are replaced with modern ${!....}, (some $ bugs probably are fixed) (diff) | |
download | git-prompt-64e0b518e9dde1498ba3301561367db3a24fec22.tar.gz git-prompt-64e0b518e9dde1498ba3301561367db3a24fec22.tar.bz2 git-prompt-64e0b518e9dde1498ba3301561367db3a24fec22.zip |
display of "master" replaced with "m"
-rwxr-xr-x | prompt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -331,7 +331,7 @@ PROMPT_COMMAND=' file_list+="${git_untracked_files+$git_untracked$git_untracked_files }" [[ $file_list ]] && file_list=":${file_list}" # ${+ does not works (?) - tail_local="($head $white$head_rev${op+ / $op}$git_color)${file_list}" + tail_local="(${head/master/m} $white$head_rev${op+ / $op}$git_color)${file_list}" ### fringes (added depended on location) head_local="${head_local+$git_color $head_local\n}" |