fix mode indicator
This commit is contained in:
parent
6f7466f44b
commit
de43ccfaa1
2 changed files with 4 additions and 1 deletions
BIN
.fish_prompt.fish.swp
Normal file
BIN
.fish_prompt.fish.swp
Normal file
Binary file not shown.
|
@ -68,7 +68,7 @@ function __slavic_git_status
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function fish_prompt
|
function fish_mode_prompt
|
||||||
set_color $__slavic_color_lilac
|
set_color $__slavic_color_lilac
|
||||||
printf '['
|
printf '['
|
||||||
switch $fish_bind_mode
|
switch $fish_bind_mode
|
||||||
|
@ -84,6 +84,9 @@ function fish_prompt
|
||||||
end
|
end
|
||||||
set_color $__slavic_color_lilac
|
set_color $__slavic_color_lilac
|
||||||
printf '] '
|
printf '] '
|
||||||
|
end
|
||||||
|
|
||||||
|
function fish_prompt
|
||||||
__slavic_color_echo $__slavic_color_purple (prompt_pwd)
|
__slavic_color_echo $__slavic_color_purple (prompt_pwd)
|
||||||
__slavic_git_status
|
__slavic_git_status
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue