profile: 调整 PS1 颜色
This commit is contained in:
parent
bf26a8aa30
commit
39e105e210
|
@ -73,9 +73,9 @@ export HOME=${HOME:-/root}
|
||||||
export CONFIG=/etc/config
|
export CONFIG=/etc/config
|
||||||
if [ -n "${TARGET_PROFILE}" ]
|
if [ -n "${TARGET_PROFILE}" ]
|
||||||
then
|
then
|
||||||
export PS1='${Green}\u${White}@${Yellow}\h(${TARGET_PROFILE})${White}:\w${Yellow}\$ ${White}'
|
export PS1='${Yellow}\u@\h(${TARGET_PROFILE})${White}:${Grey}\w${White}\$ '
|
||||||
else
|
else
|
||||||
export PS1='${Green}\u${White}@${Yellow}\h${White}:\w${Yellow}\$ ${White}'
|
export PS1='${Yellow}\u@\h${White}:${Grey}\w${White}\$ '
|
||||||
fi
|
fi
|
||||||
export ENV=/etc/shinit
|
export ENV=/etc/shinit
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue