From c8ef431ae34fc56fdae1a0b5e16952c7bf872142 Mon Sep 17 00:00:00 2001 From: Luk Date: Tue, 27 Jan 2026 09:58:55 +0800 Subject: [PATCH] u --- nixhome/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixhome/.bashrc b/nixhome/.bashrc index b147b59..d1abd3f 100644 --- a/nixhome/.bashrc +++ b/nixhome/.bashrc @@ -125,9 +125,9 @@ esac # others: # \w shows absolute path, \W shows current folder. if [ "$color_prompt" = yes ]; then - PS1='[\[\033[07;32m\]\t\[\033[00m\]#\[\033[07;35m\]\u\[\033[00m\]@\[\033[07;31m\]\h,$(uname),$(uname -m)\[\033[00m\]::\[\033[07;34m\]\w\[\033[00m\]] ' + PS1='[\[\033[07;32m\]\t\[\033[00m\]#\[\033[07;35m\]\u\[\033[00m\]@\[\033[07;31m\]\h[$(uname),$(uname -m)]\[\033[00m\]::\[\033[07;34m\]\w\[\033[00m\]] ' else - PS1='[\t#\u@\h($(uname)-$(uname -m)):\w] ' # \w shows absolute path, \W shows current folder. + PS1='[\t#\u@\h($(uname),$(uname -m)):\w] ' # \w shows absolute path, \W shows current folder. fi unset color_prompt force_color_prompt