From b0e8729b0f76979239cebd982b9cd32c7a622af4 Mon Sep 17 00:00:00 2001 From: krapshsa Date: Tue, 19 Oct 2021 00:58:01 +0800 Subject: [PATCH] Fix save-and-reload-history command not found --- themes/powerline/powerline.base.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/powerline/powerline.base.bash b/themes/powerline/powerline.base.bash index b93431f5e0..9f55e645f7 100644 --- a/themes/powerline/powerline.base.bash +++ b/themes/powerline/powerline.base.bash @@ -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 - -)"