From 148b28615e6d43c83aa09ffd23b9a79109b1ba1a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 23 Feb 2020 21:47:35 -0500 Subject: [PATCH] fixes for fish 3.1.0, remove fish_right_prompt --- fish/.config/fish/fish_variables | 2 ++ .../fish/functions/fish_right_prompt.fish | 19 ------------------- 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 fish/.config/fish/functions/fish_right_prompt.fish diff --git a/fish/.config/fish/fish_variables b/fish/.config/fish/fish_variables index 244f215..b4eb68b 100644 --- a/fish/.config/fish/fish_variables +++ b/fish/.config/fish/fish_variables @@ -4,6 +4,7 @@ SETUVAR DOTNET_CLI_TELEMETRY_OPTOUT:1 SETUVAR __fish_init_2_39_8:\x1d SETUVAR __fish_init_2_3_0:\x1d SETUVAR __fish_init_3_x:\x1d +SETUVAR __fish_initialized:3100 SETUVAR fish_color_autosuggestion:555\x1ebrblack SETUVAR fish_color_cancel:\x2dr SETUVAR fish_color_command:005fd7 @@ -15,6 +16,7 @@ SETUVAR fish_color_error:ff0000 SETUVAR fish_color_escape:00a6b2 SETUVAR fish_color_history_current:\x2d\x2dbold SETUVAR fish_color_host:normal +SETUVAR fish_color_host_remote:yellow SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue SETUVAR fish_color_normal:normal SETUVAR fish_color_operator:00a6b2 diff --git a/fish/.config/fish/functions/fish_right_prompt.fish b/fish/.config/fish/functions/fish_right_prompt.fish deleted file mode 100644 index 1f5b4c5..0000000 --- a/fish/.config/fish/functions/fish_right_prompt.fish +++ /dev/null @@ -1,19 +0,0 @@ -function fish_right_prompt - if is_git - if is_git_dirty - set_color --underline - end - - set_color yellow - - if is_git_ahead - echo -n '^' - else - echo -n '=' - end - - echo -n (git_branch) - set_color normal - end -end -