This commit is contained in:
Luk 2026-01-27 09:58:55 +08:00
parent d56cc243c1
commit c8ef431ae3

View File

@ -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