get_prompt_help() failed sourcing themes/Default.bgptheme, unless called from the bash-git-prompt directory. Fixed by adding "{__GIT_PROMPT_DIR}/".

master
Michael Darling 11 years ago
parent 65a70865d9
commit 39f94dd555
  1. 2
      git-prompt-help.sh

@ -4,7 +4,7 @@
git_prompt_help() {
source ${__GIT_PROMPT_DIR}/prompt-colors.sh
source themes/Default.bgptheme
source ${__GIT_PROMPT_DIR}/themes/Default.bgptheme
cat <<EOF | sed 's/\\\[\\033//g' | sed 's/\\\]//g'
The git prompt format is [<BRANCH><TRACKING>|<LOCALSTATUS>]

Loading…
Cancel
Save