1
0
Fork 0
mirror of synced 2024-12-23 22:43:21 -05:00

[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

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} "