[prompt] eriner: Fix ${USER} not being evaluated
I broke this on the last commit. My bad. Fixes #318
This commit is contained in:
parent
21696a4f70
commit
882408b762
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ prompt_eriner_main() {
|
||||||
(( $(jobs -l | wc -l) )) && segment+=' %F{cyan}⚙'
|
(( $(jobs -l | wc -l) )) && segment+=' %F{cyan}⚙'
|
||||||
(( RANGER_LEVEL )) && segment+=' %F{cyan}r'
|
(( RANGER_LEVEL )) && segment+=' %F{cyan}r'
|
||||||
if [[ ${USER} != ${DEFAULT_USER} || -n ${SSH_CLIENT} ]]; then
|
if [[ ${USER} != ${DEFAULT_USER} || -n ${SSH_CLIENT} ]]; then
|
||||||
segment+=' %F{%(!.yellow.default)}${USER}@%m'
|
segment+=" %F{%(!.yellow.default)}${USER}@%m"
|
||||||
fi
|
fi
|
||||||
if [[ -n ${segment} ]]; then
|
if [[ -n ${segment} ]]; then
|
||||||
prompt_eriner_segment ${prompt_eriner_color1} "${segment} "
|
prompt_eriner_segment ${prompt_eriner_color1} "${segment} "
|
||||||
|
|
Loading…
Reference in a new issue