Merge pull request #1883 from seefood/ira/autosave-history-plml
Add history flushes on each command to the powerline themes
This commit is contained in:
@@ -275,6 +275,8 @@ function __powerline_prompt_command() {
|
||||
SEGMENTS_AT_LEFT=0
|
||||
LAST_SEGMENT_COLOR=""
|
||||
|
||||
save-and-reload-history "${HISTORY_AUTOSAVE:-0}"
|
||||
|
||||
if [[ -n "${POWERLINE_PROMPT_DISTRO_LOGO}" ]]; then
|
||||
LEFT_PROMPT+="$(set_color "${PROMPT_DISTRO_LOGO_COLOR}" "${PROMPT_DISTRO_LOGO_COLORBG}")${PROMPT_DISTRO_LOGO}$(set_color - -)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user