add powerline config for prompt after chars

This commit is contained in:
Matthew Adams
2020-05-01 09:17:18 -05:00
parent 2bb2af7eb3
commit e2150602c7

View File

@@ -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 \