From a9e9642b4e6010befc354a33ef360eec1bca8e11 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Thu, 28 Oct 2021 06:34:12 +0000 Subject: [PATCH] bashrc: ps1: fix escape --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 150a1a1..21142d9 100644 --- a/.bashrc +++ b/.bashrc @@ -48,7 +48,7 @@ HISTSIZE=2048 HISTFILESIZE=2048 HISTIGNORE="history:exit:top:ls:clear:mount:python" -PS1="\[\033[01;32m\]\u@\h${STY:+>${STY#*\.}} \[\033[01;34m\]\W\[\033[31m\${?#0}\[\033[0m\]\\$ " +PS1="\[\033[01;32m\]\u@\h${STY:+>${STY#*\.}} \[\033[01;34m\]\W\[\033[31m\]\${?#0}\[\033[0m\]\\$ " # aliases if [ "${OSTYPE%%-*}" = "linux" ];then -- 2.45.2