mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 20:13:05 +03:00
Don't omit suffixes in 2-line prompts (#268)
This commit is contained in:
parent
ccabacb629
commit
95533131ee
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user