commit d15e69b94486655fa42f3933ff5cab6d2a1ca303
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2022-08-15T12:56:36Z |
| subject | PS1 not working due to prev commit |
commit d15e69b94486655fa42f3933ff5cab6d2a1ca303
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2022-08-15T12:56:36Z
PS1 not working due to prev commit
---
bash/rbashrc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bash/rbashrc b/bash/rbashrc
index 21378f7..7a761a9 100644
--- a/bash/rbashrc
+++ b/bash/rbashrc
@@ -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"