change from feedback
MODIFY
themes/powerline-plain/powerline-plain.base.bash
themes/powerline-plain/powerline-plain.base.bash
@@ -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 ##

change from feedback