changed line opener and fixed vi mode

main
Matej Nemček 2016-11-08 00:58:10 +01:00
parent d9bb1dc233
commit 3548586519
3 changed files with 17 additions and 3 deletions

0
cat
View File

View File

@ -67,10 +67,24 @@ function __toaster_git_status
end
function fish_prompt
__toaster_color_echo $__toaster_color_blue "# "
# __toaster_color_echo $__toaster_color_purple (__toaster_current_folder)
__toaster_color_echo $__toaster_color_blue ""
printf '['
switch $fish_bind_mode
case default
set_color --bold red
printf 'n'
case insert
set_color --bold green
printf 'i'
case visual
set_color --bold magenta
printf 'v'
end
set_color normal
printf '] '
__toaster_color_echo $__toaster_color_purple (prompt_pwd)
__toaster_git_status
echo
__toaster_color_echo $__toaster_color_pink "\$ "
__toaster_color_echo $__toaster_color_pink " "
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 72 KiB