Files
dotfiles/config/fish/functions/fish_mode_prompt.fish
Colin Powell c3a2824089 Remove pyenv and add new shell theme
I enjoyed bobthefish quite a bit, but the nerd fonts on the CLI were
screwing up Emacs, and that's a non-starter for me.

One thing I like about cmorrell is that it has the host in the terminal
line, so I can tell which machine I'm on.
2018-12-11 21:41:59 -05:00

16 lines
494 B
Fish

function fish_mode_prompt
if test "$fish_key_bindings" = "fish_vi_key_bindings"
or test "$fish_key_bindings" = "fish_hybrid_key_bindings"
switch $fish_bind_mode
case default
prompt_segment blue black "N"
case insert
prompt_segment green black "I"
case replace_one
prompt_segment red black "R"
case visual
prompt_segment magenta black "V"
end
end
end