Update fish shell config

This commit is contained in:
Colin Powell
2018-12-05 23:42:13 -05:00
parent bb640a3d4e
commit dc1727b9e4
31 changed files with 978 additions and 15 deletions

View File

@ -1,15 +1,11 @@
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
# This is handled inside fish_mode_prompt (see `__bobthefish_prompt_vi`)
#
# If you want to override this with your own mode prompt, disable bobthefish's
# built-in mode prompt in your fish config:
#
# set -g theme_display_vi no
#
set -g theme_nerd_fonts yes
set -g GPG_TTY (tty)
function fish_mode_prompt; end