[prompt] eriner: Fix ${USER} not being evaluated

I broke this on the last commit. My bad.

Fixes #318
This commit is contained in:
Eric Nielsen 2018-12-23 18:21:18 -05:00
parent 21696a4f70
commit 882408b762
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ prompt_eriner_main() {
(( $(jobs -l | wc -l) )) && segment+=' %F{cyan}⚙'
(( RANGER_LEVEL )) && segment+=' %F{cyan}r'
if [[ ${USER} != ${DEFAULT_USER} || -n ${SSH_CLIENT} ]]; then
segment+=' %F{%(!.yellow.default)}${USER}@%m'
segment+=" %F{%(!.yellow.default)}${USER}@%m"
fi
if [[ -n ${segment} ]]; then
prompt_eriner_segment ${prompt_eriner_color1} "${segment} "