Fix save-and-reload-history command not found

This commit is contained in:
krapshsa
2021-10-19 00:58:01 +08:00
committed by GitHub
parent 7987e4bfcd
commit b0e8729b0f

View File

@@ -275,7 +275,7 @@ function __powerline_prompt_command() {
SEGMENTS_AT_LEFT=0
LAST_SEGMENT_COLOR=""
save-and-reload-history "${HISTORY_AUTOSAVE:-0}"
_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 - -)"