mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Change mode colors in prompt
This commit is contained in:
parent
fd8ab78372
commit
c8e0d18d18
1 changed files with 2 additions and 2 deletions
|
@ -2,10 +2,10 @@ function fish_vi_prompt_cm --description "Displays the current mode"
|
||||||
echo -n " "
|
echo -n " "
|
||||||
switch $fish_bind_mode
|
switch $fish_bind_mode
|
||||||
case default
|
case default
|
||||||
set_color --bold --background green white
|
set_color --bold --background red white
|
||||||
echo "[N]"
|
echo "[N]"
|
||||||
case insert
|
case insert
|
||||||
set_color --bold --background red white
|
set_color --bold --background green white
|
||||||
echo "[I]"
|
echo "[I]"
|
||||||
case visual
|
case visual
|
||||||
set_color --bold --background magenta white
|
set_color --bold --background magenta white
|
||||||
|
|
Loading…
Reference in a new issue