Don't omit suffixes in 2-line prompts (#268)

This commit is contained in:
Oskar 2022-03-18 01:11:28 +01:00 committed by GitHub
parent ccabacb629
commit 95533131ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,10 @@ function _tide_2_line_prompt
_tide_side=left for item in $_tide_left_items _tide_side=left for item in $_tide_left_items
_tide_item_$item _tide_item_$item
end end
if not set -e add_prefix
set_color $prev_bg_color -b normal
echo $tide_left_prompt_suffix
end
echo echo
@ -10,6 +14,10 @@ function _tide_2_line_prompt
_tide_side=right for item in $_tide_right_items _tide_side=right for item in $_tide_right_items
_tide_item_$item _tide_item_$item
end end
if not set -e add_prefix
set_color $prev_bg_color -b normal
echo $tide_right_prompt_suffix
end
end end
function _tide_item_pwd function _tide_item_pwd