This commit is contained in:
Luk 2026-01-27 09:56:09 +08:00
parent 002a4ccf5b
commit d56cc243c1

View File

@ -125,7 +125,7 @@ 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.
fi