Merge pull request #195 from ogr3/themes-cleanup

Cleanup of themes, adding the new upstream variables where applicable
master
Martin Gondermann 10 years ago
commit 21992de10b
  1. 5
      themes/Custom.bgptemplate
  2. 3
      themes/Default.bgptheme
  3. 4
      themes/Single_line.bgptheme
  4. 9
      themes/Single_line_Solarized.bgptheme
  5. 3
      themes/Single_line_Ubuntu.bgptheme

@ -37,6 +37,11 @@ override_git_prompt_colors() {
## the name of the current virtual environment (currently CONDA and VIRTUAL_ENV)
# GIT_PROMPT_VIRTUALENV="(${Blue}_VIRTUALENV_${ResetColor}) "
# template for displaying the current remote tracking branch
# use the placeholder _UPSTREAM_ will be replaced with
# the name of the current remote tracking branch
# GIT_PROMPT_UPSTREAM=" {${Blue}_UPSTREAM_${ResetColor}}"
## _LAST_COMMAND_INDICATOR_ will be replaced by the appropriate GIT_PROMPT_COMMAND_OK OR GIT_PROMPT_COMMAND_FAIL
# GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${Yellow}${PathShort}${ResetColor}"
# GIT_PROMPT_START_ROOT="_LAST_COMMAND_INDICATOR_ ${GIT_PROMPT_START_USER}"

@ -28,8 +28,7 @@ unset_git_prompt_colors() {
unset GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING
}
define_helpers()
{
define_helpers() {
Time12a="\$(date +%H:%M)"
PathShort="\w";
}

@ -17,6 +17,7 @@ unset_git_prompt_colors() {
unset GIT_PROMPT_COMMAND_OK
unset GIT_PROMPT_COMMAND_FAIL
unset GIT_PROMPT_VIRTUALENV
unset GIT_PROMPT_UPSTREAM
unset GIT_PROMPT_START_USER
unset GIT_PROMPT_START_ROOT
unset GIT_PROMPT_END_USER
@ -27,8 +28,7 @@ unset_git_prompt_colors() {
unset GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING
}
define_helpers()
{
define_helpers() {
Time12a="\$(date +%H:%M)"
PathShort="\w";
}

@ -21,6 +21,7 @@ unset_git_prompt_colors() {
unset GIT_PROMPT_COMMAND_OK
unset GIT_PROMPT_COMMAND_FAIL
unset GIT_PROMPT_VIRTUALENV
unset GIT_PROMPT_UPSTREAM
unset GIT_PROMPT_START_USER
unset GIT_PROMPT_START_ROOT
unset GIT_PROMPT_END_USER
@ -31,8 +32,7 @@ unset_git_prompt_colors() {
unset GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING
}
define_helpers()
{
define_helpers() {
PathShort="${BoldBlue}\u:${Cyan}\W"
}
@ -68,6 +68,11 @@ define_undefined_git_prompt_colors() {
# the name of the current virtual environment (currently CONDA and VIRTUAL_ENV)
if [[ -z ${GIT_PROMPT_VIRTUALENV} ]]; then GIT_PROMPT_VIRTUALENV="(${Blue}_VIRTUALENV_${ResetColor}) "; fi
# template for displaying the current remote tracking branch
# use the placeholder _UPSTREAM_ will be replaced with
# the name of the current remote tracking branch
if [[ -z ${GIT_PROMPT_UPSTREAM} ]]; then GIT_PROMPT_UPSTREAM=" {${Blue}_UPSTREAM_${ResetColor}}"; fi
# _LAST_COMMAND_INDICATOR_ will be replaced by the appropriate GIT_PROMPT_COMMAND_OK OR GIT_PROMPT_COMMAND_FAIL
if [[ -z ${GIT_PROMPT_START_USER} ]]; then GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${Yellow}${PathShort}${ResetColor}"; fi

@ -28,8 +28,7 @@ unset_git_prompt_colors() {
unset GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING
}
define_helpers()
{
define_helpers() {
Time12a="\$(date +%H:%M)"
PathShort="\w";
}

Loading…
Cancel
Save