mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 14:51:13 -03:00
Change mode colors in prompt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user