Minor edits

This commit is contained in:
Ilan Cosman 2021-07-06 16:09:01 -07:00
parent a6d68a85da
commit 9efac25457
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,5 @@
function _tide_item_vi_mode
test "$fish_key_bindings" != fish_default_key_bindings && switch $fish_bind_mode
case insert
case default
tide_vi_mode_bg_color=$tide_vi_mode_bg_color_default tide_vi_mode_color=$tide_vi_mode_color_default \
_tide_print_item vi_mode $tide_vi_mode_icon_default

View File

@ -15,9 +15,8 @@ end
function fish_prompt
_tide_last_status=$status _tide_last_pipestatus=$pipestatus if not set -e _tide_self_repainting
_tide_jobs=(jobs --pid) fish --command "
CMD_DURATION=$CMD_DURATION COLUMNS=$COLUMNS fish_bind_mode=$fish_bind_mode \
set -U $_tide_left_prompt_display_var (_tide_prompt)" &
_tide_jobs=(jobs --pid) fish --command "CMD_DURATION=$CMD_DURATION COLUMNS=$COLUMNS \
fish_bind_mode=$fish_bind_mode set -U $_tide_left_prompt_display_var (_tide_prompt)" &
builtin disown
command kill $_tide_last_pid 2>/dev/null