fork of the boxfish theme with hostname shown
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boxfish-host/fish_mode_prompt.fish

15 lines
397 B

function fish_mode_prompt
if [ $fish_key_bindings = fish_vi_key_bindings ]
switch $fish_bind_mode
case default
set_color -b red
case insert
set_color -b green
case visual
set_color -b yellow
case replace-one
set_color -b magenta
end
echo -n " "
end
end