about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2020-02-23 21:47:35 -0500
committerBen Harris <ben@tilde.team>2020-02-23 21:47:35 -0500
commit148b28615e6d43c83aa09ffd23b9a79109b1ba1a (patch)
treec4d73bd6d819f1150f7b72e57cf6843d44c75ecc
parenta6d5e6731b22ec3d4dfde1a268bee24034196022 (diff)
fixes for fish 3.1.0, remove fish_right_prompt
-rw-r--r--fish/.config/fish/fish_variables2
-rw-r--r--fish/.config/fish/functions/fish_right_prompt.fish19
2 files changed, 2 insertions, 19 deletions
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
-