change from feedback

This commit is contained in:
Matthew Adams
2020-05-02 08:43:08 -05:00
parent e2150602c7
commit dddb863657
2 changed files with 2 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ function __powerline_prompt_command {
LEFT_PROMPT=""
SEGMENTS_AT_LEFT=0
LAST_SEGMENT_COLOR=""
PROMPT_AFTER="${POWERLINE_PROMPT_AFTER}"
_save-and-reload-history "${HISTORY_AUTOSAVE:-0}"
@@ -51,11 +52,6 @@ function __powerline_prompt_command {
LEFT_PROMPT+=" "
fi
## after prompt ##
if [[ -n "${POWERLINE_PROMPT_AFTER}" ]]; then
PROMPT_AFTER="${POWERLINE_PROMPT_AFTER}"
fi
PS1="${LEFT_PROMPT}${PROMPT_AFTER}"
## cleanup ##