Set fish_term24bit in background job, don't export it

This commit is contained in:
Ilan Cosman 2021-02-02 19:51:52 -08:00
parent 894a4a4998
commit baee8f539e

View File

@ -4,7 +4,6 @@ _tide_detect_os
set -g _tide_left_prompt_display_var _tide_left_prompt_display_$fish_pid
set -gx _tide_fish_pid $fish_pid
set -x fish_term24bit $fish_term24bit
function fish_prompt
set -lx _tide_last_pipestatus $pipestatus
@ -16,6 +15,7 @@ function fish_prompt
set CMD_DURATION $CMD_DURATION
set COLUMNS $COLUMNS
set fish_bind_mode $fish_bind_mode
set fish_term24bit $fish_term24bit
command kill $_tide_last_pid 2>/dev/null
set -U _tide_left_prompt_display_$fish_pid (_tide_prompt)