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 " "
|
||||
switch $fish_bind_mode
|
||||
case default
|
||||
set_color --bold --background green white
|
||||
set_color --bold --background red white
|
||||
echo "[N]"
|
||||
case insert
|
||||
set_color --bold --background red white
|
||||
set_color --bold --background green white
|
||||
echo "[I]"
|
||||
case visual
|
||||
set_color --bold --background magenta white
|
||||
|
|
Loading…
Reference in a new issue