changed line opener and fixed vi mode
This commit is contained in:
parent
d9bb1dc233
commit
3548586519
3 changed files with 17 additions and 3 deletions
0
cat
0
cat
|
@ -67,10 +67,24 @@ function __toaster_git_status
|
||||||
end
|
end
|
||||||
|
|
||||||
function fish_prompt
|
function fish_prompt
|
||||||
__toaster_color_echo $__toaster_color_blue "# "
|
__toaster_color_echo $__toaster_color_blue ""
|
||||||
# __toaster_color_echo $__toaster_color_purple (__toaster_current_folder)
|
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_color_echo $__toaster_color_purple (prompt_pwd)
|
||||||
__toaster_git_status
|
__toaster_git_status
|
||||||
|
|
||||||
echo
|
echo
|
||||||
__toaster_color_echo $__toaster_color_pink "\$ "
|
__toaster_color_echo $__toaster_color_pink "⫸ "
|
||||||
end
|
end
|
||||||
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 72 KiB |
Loading…
Reference in a new issue