fix based on remarks on PR

This commit is contained in:
Ira Abramov
2021-10-10 15:25:45 +03:00
parent 9f4c71d40f
commit c3d333ddc4
3 changed files with 3 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ function __powerline_left_segment {
LEFT_PROMPT+="$(set_color ${params[1]} -)${pad_before_segment}${params[0]}${normal}"
LAST_SEGMENT_COLOR=${params[1]}
(( SEGMENTS_AT_LEFT += 1 ))
_save-and-reload-history "${HISTORY_AUTOSAVE:-0}"
}