From 8752bb5ce1b952e2d5eff5a666e1618ce0470bcc Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Sun, 17 Jan 2021 11:33:05 -0800 Subject: [PATCH] Remove defunct git stuff --- functions/_tide_left_prompt.fish | 2 +- functions/_tide_right_prompt.fish | 2 +- .../configure/choices/pure/pure_nonperm_content_location.fish | 4 ++-- .../tide/configure/functions/_fake_tide_left_prompt.fish | 2 +- .../tide/configure/functions/_fake_tide_right_prompt.fish | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/functions/_tide_left_prompt.fish b/functions/_tide_left_prompt.fish index 7231404..f2757cf 100644 --- a/functions/_tide_left_prompt.fish +++ b/functions/_tide_left_prompt.fish @@ -41,7 +41,7 @@ function _tide_left_prompt set_color -b $color if test "$tide_left_prompt_pad_items" = 'true' -a "$item" != 'prompt_char' - printf '%s' " $output"(set_color -b $color || echo)' ' # The set_color is for git_prompt which resets the background color + printf '%s' " $output " else printf '%s' "$output" end diff --git a/functions/_tide_right_prompt.fish b/functions/_tide_right_prompt.fish index e440c5c..cb89f1a 100644 --- a/functions/_tide_right_prompt.fish +++ b/functions/_tide_right_prompt.fish @@ -64,7 +64,7 @@ function _tide_fetch_right_prompt_items set_color -b $color if test "$tide_right_prompt_pad_items" = 'true' - printf '%s' " $output"(set_color -b $color || echo)' ' # The set_color is for git_prompt which resets the background color + printf '%s' " $output " else printf '%s' "$output" end diff --git a/functions/tide/configure/choices/pure/pure_nonperm_content_location.fish b/functions/tide/configure/choices/pure/pure_nonperm_content_location.fish index 0ef5ec3..339a5a3 100644 --- a/functions/tide/configure/choices/pure/pure_nonperm_content_location.fish +++ b/functions/tide/configure/choices/pure/pure_nonperm_content_location.fish @@ -2,7 +2,7 @@ function pure_nonperm_content_location _tide_title 'Non-permanent content location' _tide_option 1 'Left' - set -g fake_tide_left_prompt_items 'pwd' 'git_prompt' 'cmd_duration' 'newline' 'virtual_env' 'prompt_char' + set -g fake_tide_left_prompt_items 'pwd' 'git' 'cmd_duration' 'newline' 'virtual_env' 'prompt_char' set -g fake_tide_right_prompt_items _tide_display_prompt @@ -14,7 +14,7 @@ function pure_nonperm_content_location _tide_menu switch $_tide_selected_option case 1 - set -g fake_tide_left_prompt_items 'pwd' 'git_prompt' 'cmd_duration' 'newline' 'virtual_env' 'prompt_char' + set -g fake_tide_left_prompt_items 'pwd' 'git' 'cmd_duration' 'newline' 'virtual_env' 'prompt_char' set -g fake_tide_right_prompt_items _next_choice 'all/show_time' case 2 diff --git a/functions/tide/configure/functions/_fake_tide_left_prompt.fish b/functions/tide/configure/functions/_fake_tide_left_prompt.fish index 4649141..1887321 100644 --- a/functions/tide/configure/functions/_fake_tide_left_prompt.fish +++ b/functions/tide/configure/functions/_fake_tide_left_prompt.fish @@ -41,7 +41,7 @@ function _fake_tide_left_prompt set_color -b $color if test "$fake_tide_left_prompt_pad_items" = 'true' -a "$item" != 'prompt_char' - printf '%s' " $output"(set_color -b $color || echo)' ' # The set_color is for git_prompt which resets the background color + printf '%s' " $output " else printf '%s' "$output" end diff --git a/functions/tide/configure/functions/_fake_tide_right_prompt.fish b/functions/tide/configure/functions/_fake_tide_right_prompt.fish index 5c1d863..a86fa0b 100644 --- a/functions/tide/configure/functions/_fake_tide_right_prompt.fish +++ b/functions/tide/configure/functions/_fake_tide_right_prompt.fish @@ -56,7 +56,7 @@ function _fake_tide_fetch_right_prompt_items set_color -b $color if test "$fake_tide_right_prompt_pad_items" = 'true' - printf '%s' " $output"(set_color -b $color || echo)' ' # The set_color is for git_prompt which resets the background color + printf '%s' " $output " else printf '%s' "$output" end