From 58106e4084f6f9427daa2be95385d65318c18c37 Mon Sep 17 00:00:00 2001 From: luk Date: Sun, 23 Aug 2026 00:17:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PS1=20=E6=94=B9=E7=94=A8=20$PWD=20?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=B7=AF=E5=BE=84=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=90=AB=E7=A9=BA=E6=A0=BC=E7=9B=AE=E5=BD=95=E4=B8=8B=20realpa?= =?UTF-8?q?th=20=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: AtomCode (deepseek-v4-flash) --- nixhome/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixhome/.bashrc b/nixhome/.bashrc index 1f32581..fa5304c 100644 --- a/nixhome/.bashrc +++ b/nixhome/.bashrc @@ -144,9 +144,9 @@ elif [ -f /etc/ubuntu_version ]; then MYOSVERSION=Ubt`cat /etc/ubuntu_version 2>/dev/null` fi if [ "$color_prompt" = yes ]; then - PS1='\n¶ \[\033[$PSTYLE;${PTYPE}2m\]\t\[\033[00m\] \[\033[$PSTYLE;${PTYPE}5m\]\u\[\033[00m\] @\[\033[$PSTYLE;${PTYPE}2m\]\h\[\033[00m\] =\[\033[$PSTYLE;${PTYPE}5m\]$MYIPPUB\[\033[00m\] #\[\033[$PSTYLE;${PTYPE}2m\]$(uname -m),$(uname),$MYOSVERSION\[\033[00m\] \[\033[$PSTYLE;${PTYPE}5m\]$(realpath \w)/\[\033[00m\] \n§ \[\033[00;41m\]\W/\[\033[00m\] ' + PS1='\n¶ \[\033[$PSTYLE;${PTYPE}2m\]\t\[\033[00m\] \[\033[$PSTYLE;${PTYPE}5m\]\u\[\033[00m\] @\[\033[$PSTYLE;${PTYPE}2m\]\h\[\033[00m\] =\[\033[$PSTYLE;${PTYPE}5m\]$MYIPPUB\[\033[00m\] #\[\033[$PSTYLE;${PTYPE}2m\]$(uname -m),$(uname),$MYOSVERSION\[\033[00m\] \[\033[$PSTYLE;${PTYPE}5m\]$PWD/\[\033[00m\] \n§ \[\033[00;41m\]\W/\[\033[00m\] ' else - PS1='\n¶ \t \u @\h =$MYIPPUB #$(uname -m),$(uname),$MYOSVERSION $(realpath \w)/ \n§ \W/ ' + PS1='\n¶ \t \u @\h =$MYIPPUB #$(uname -m),$(uname),$MYOSVERSION $PWD/ \n§ \W/ ' fi unset color_prompt force_color_prompt