Added shelld

This commit is contained in:
斟酌 鵬兄 2016-04-28 09:56:06 +08:00
parent 060c48487e
commit 38ee6decf2

View File

@ -185,7 +185,9 @@ function rbash_run {
rm "$TMPFILE";
}
export PS1='This is <MACHINE_NAME>\e[1;3<COLOR_CODE>m<MACHINE_COLORED_NAME>\e[0m: \w\n$ '
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 EDITOR=vim
# User specific aliases and functions