add powerline config for prompt after chars

pull/1580/head
Matthew Adams 2020-05-01 09:17:18 -05:00
parent 2bb2af7eb3
commit e2150602c7
1 changed files with 6 additions and 1 deletions

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 \