Fixed name everywhere and documentation

master
oGre 10 years ago
parent abcc68b2f7
commit 168d33c3ab
  1. 8
      themes/TruncatedPwd_WindowTitle_NoExitState.bgptheme

@ -6,7 +6,7 @@
# #
# The prompt will use a Debian-style on the form # The prompt will use a Debian-style on the form
# #
# [user@host: <truncated PWD>] [bash-git-prompt-info] <exit status> # [user@host: <truncated PWD>] [bash-git-prompt-info]
# HH:MM $ # HH:MM $
# #
# The window title will have the form # The window title will have the form
@ -14,14 +14,14 @@
# #
# Example usage: # Example usage:
# if [ -f ~/.bash-git-prompt/gitprompt.sh ]; then # if [ -f ~/.bash-git-prompt/gitprompt.sh ]; then
# GIT_PROMPT_THEME=TruncatedPwd_WindowTitle # GIT_PROMPT_THEME=TruncatedPwd_WindowTitle_NoExitState
# source ~/.bash-git-prompt/gitprompt.sh # source ~/.bash-git-prompt/gitprompt.sh
# fi # fi
# #
# oGre <oGre@muppfarmen.se> [https://github.com/ogr3] # oGre <oGre@muppfarmen.se> [https://github.com/ogr3]
############################################################################## ##############################################################################
override_git_prompt_colors() { override_git_prompt_colors() {
GIT_PROMPT_THEME_NAME="TruncatedPwd_WindowTitle" GIT_PROMPT_THEME_NAME="TruncatedPwd_WindowTitle_NoExitState"
#Sets the window title to the given argument string #Sets the window title to the given argument string
function gp_set_title { function gp_set_title {
@ -51,4 +51,4 @@ override_git_prompt_colors() {
GIT_PROMPT_END_ROOT="\n${White}${Time12a}${ResetColor} # " GIT_PROMPT_END_ROOT="\n${White}${Time12a}${ResetColor} # "
} }
reload_git_prompt_colors "TruncatedPwd_WindowTitle" reload_git_prompt_colors "TruncatedPwd_WindowTitle_NoExitState"

Loading…
Cancel
Save