summarylogtreecommitdiffstats
path: root/bash-git-prompt.install
diff options
context:
space:
mode:
authorJames P. Harvey2016-10-30 00:09:41 -0400
committerJames P. Harvey2016-10-30 00:09:41 -0400
commita312d0ce997d46889d32df661f4026cc8d47c746 (patch)
treed91734bd92911abaa25384952ddf8278fbc7270f /bash-git-prompt.install
parent43ceb72bd9a9819b6b6453b6f8a43e0bcb7d34c2 (diff)
downloadaur-a312d0ce997d46889d32df661f4026cc8d47c746.tar.gz
Upstream released 2.6.1. Updated maintainer's default arch theme. New symbols are more intuitive (to me anyway.) Staged files are pending, so ellipsis. Changed files represented by delta symbol. Untracked files represented by the exists symbol. Stashed files represented by a question mark, since their future is somewhat unknown. Also noted .install file for how to change a ~/.gitconfig to make 'git status' colors match the Default_Arch theme.
Diffstat (limited to 'bash-git-prompt.install')
-rw-r--r--bash-git-prompt.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/bash-git-prompt.install b/bash-git-prompt.install
index ef7e4ffecdf1..33c1e85df7cc 100644
--- a/bash-git-prompt.install
+++ b/bash-git-prompt.install
@@ -13,6 +13,18 @@ post_install() {
GIT_PROMPT_THEME=Default_Arch
source /usr/lib/bash-git-prompt/gitprompt.sh
fi
+
+ NOTE: To have the colors shown by 'git status' match the Default_Arch theme,
+ add the following to your ~/.gitconfig:
+
+ [color "status"]
+ branch = magenta
+ untracked = cyan
+ unmerged = yellow
+
+ And if you want boilerplate to be less prominent, also:
+
+ header = bold black
"
}