PS1 not working due to prev commit

This commit is contained in:
斟酌 鵬兄 2022-08-15 20:56:36 +08:00
parent 04283cbcb5
commit d15e69b944

View File

@ -15,9 +15,6 @@ RBASH_REMOTE="https://git.k8s.astropenguin.net"
RBASH_REPO="penguin/utils"
RBASH_PATH="bash"
export PS1='This is <MACHINE_NAME>\e[1;3<COLOR_CODE>m<MACHINE_COLORED_NAME>\e[0m: \w\n\$ '
export EDITOR=vim
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@ -288,6 +285,9 @@ function r2dissource {
rm -r "$_dis" "$RBASH_SOURCES"
}
export PS1='This is <MACHINE_NAME>\e[1;3<COLOR_CODE>m<MACHINE_COLORED_NAME>\e[0m: \w\n\$ '
export EDITOR=vim
# Source for custom bash env, allows overriding
if [ -f "$RBASH_ENV" ]; then
source "$RBASH_ENV"