profile: 调整 PS1 颜色

This commit is contained in:
Hyy2001X
2022-06-07 22:05:42 +08:00
parent bf26a8aa30
commit 39e105e210
+2 -2
View File
@@ -73,9 +73,9 @@ export HOME=${HOME:-/root}
export CONFIG=/etc/config
if [ -n "${TARGET_PROFILE}" ]
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
export PS1='${Green}\u${White}@${Yellow}\h${White}:\w${Yellow}\$ ${White}'
export PS1='${Yellow}\u@\h${White}:${Grey}\w${White}\$ '
fi
export ENV=/etc/shinit