x86_64: 切换默认 SHELL 为 bash

This commit is contained in:
Hyy2001X
2022-07-24 12:58:43 +08:00
parent 5c4b41c16b
commit d30fe7832a
3 changed files with 7 additions and 4 deletions
+2
View File
@@ -11,3 +11,5 @@
/etc/docker/daemon.json
/root/.config/htop
/root/.ssh
/root/.bash_history
/root/.bash_profile
+4 -4
View File
@@ -37,7 +37,7 @@ getinf() {
temp_color() {
if [ -n "$1" ]
then
if [ $1 -gt 60 ]
if [ $1 -gt 55 ]
then
echo -ne "${Red}WARN ${1}°C${White}"
else
@@ -73,9 +73,9 @@ export HOME=${HOME:-/root}
export CONFIG=/etc/config
if [ -n "${TARGET_PROFILE}" ]
then
export PS1='${Yellow}\u@\h(${TARGET_PROFILE})${White}:${Grey}\w${White}\$ '
export PS1='\u@\h[${TARGET_PROFILE}]:\w\$ '
else
export PS1='${Yellow}\u@\h${White}:${Grey}\w${White}\$ '
export PS1='\u@\h:\w\$ '
fi
export ENV=/etc/shinit
@@ -103,7 +103,7 @@ then
"
fi
alias reload='/etc/profile'
alias reload='. /etc/profile'
alias coremarkd='/etc/coremark.sh'
alias shutdown='sync && poweroff'
alias ls='ls --color=auto'