add powerline config for prompt after chars
MODIFY
themes/powerline-plain/powerline-plain.base.bash
themes/powerline-plain/powerline-plain.base.bash
@@ -51,7 +51,12 @@ function __powerline_prompt_command {
LEFT_PROMPT+=" "
fi
- PS1="${LEFT_PROMPT}"
+ ## after prompt ##
+ if [[ -n "${POWERLINE_PROMPT_AFTER}" ]]; then
+ PROMPT_AFTER="${POWERLINE_PROMPT_AFTER}"
+ fi
+
+ PS1="${LEFT_PROMPT}${PROMPT_AFTER}"
## cleanup ##
unset LAST_SEGMENT_COLOR \

add powerline config for prompt after chars