mirror of https://tildegit.org/ben/dotfiles
fixes for fish 3.1.0, remove fish_right_prompt
parent
a6d5e6731b
commit
148b28615e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue