From 52bfba7d37218dbacb066bfef45ff76f9836db35 Mon Sep 17 00:00:00 2001 From: oGre Date: Tue, 13 Oct 2015 18:31:49 +0200 Subject: [PATCH] Added documentation in Default theme --- themes/Default.bgptheme | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/Default.bgptheme b/themes/Default.bgptheme index 40c97ec..fd823cb 100644 --- a/themes/Default.bgptheme +++ b/themes/Default.bgptheme @@ -61,7 +61,12 @@ define_undefined_git_prompt_colors() { if [[ -z ${GIT_PROMPT_COMMAND_OK} ]]; then GIT_PROMPT_COMMAND_OK="${Green}✔"; fi # indicator if the last command returned with an exit code of 0 if [[ -z ${GIT_PROMPT_COMMAND_FAIL} ]]; then GIT_PROMPT_COMMAND_FAIL="${Red}✘-_LAST_COMMAND_STATE_"; fi # indicator if the last command returned with an exit code of other than 0 - if [[ -z ${GIT_PROMPT_STATUS_COMMAND} ]]; then GIT_PROMPT_STATUS_COMMAND="gitstatus.sh"; fi # Point out the command to get the gitstatus from + # Possible to change which command is used to create git status information + # There are three options: + # 1) gitstatus.sh (uses git status --branch --porcelain - fast, requires git > 1.7.10) + # 2) gitstatus_pre-1.7.10.sh (Uses a variety of git commands and pipes - slower, works with older git clients) + # 3) gitstatus.py (Unsupported, lack features found in the bash versions) + if [[ -z ${GIT_PROMPT_STATUS_COMMAND} ]]; then GIT_PROMPT_STATUS_COMMAND="gitstatus.sh"; fi # Point out the command to get the git status from # template for displaying the current virtual environment # use the placeholder _VIRTUALENV_ will be replaced with