Better shelld

This commit is contained in:
斟酌 鵬兄 2016-04-29 15:47:04 +08:00
parent 2b215a8a7b
commit 4e87e85986

View File

@ -189,9 +189,7 @@ function rbash_run {
rm "$TMPFILE";
}
SHELL_D=$( id -G | grep -qE '\<(544|0)\>' && echo "#" || echo "\$" )
export PS1='This is <MACHINE_NAME>\e[1;3<COLOR_CODE>m<MACHINE_COLORED_NAME>\e[0m: \w\n$SHELL_D '
export PS1='This is <MACHINE_NAME>\e[1;3<COLOR_CODE>m<MACHINE_COLORED_NAME>\e[0m: \w\n\$ '
export EDITOR=vim
# User specific aliases and functions