From eba4005f72231cb661968af78cd055468b49ca7c Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sun, 21 Feb 2021 00:30:56 +0800 Subject: [PATCH] bash: PS1: fix $ --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index ceadde3..5f43942 100644 --- a/.bashrc +++ b/.bashrc @@ -46,7 +46,7 @@ HISTCONTROL=ignoredups 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[00m\]\$ " +PS1="\[\033[01;32m\]\u@\h${STY:+>${STY#*\.}} \[\033[01;34m\]\W\[\033[00m\]\\$ " # aliases if [ "$(uname)" = "Linux" ];then -- 2.45.2