This commit is contained in:
Luk 2025-04-01 17:14:53 +08:00
parent 26a245c81c
commit 60c49d610d

View File

@ -125,7 +125,7 @@ esac
# others:
# \w shows absolute path, \W shows current folder.
if [ "$color_prompt" = yes ]; then
PS1='<\[\033[00;42m\]\t\[\033[00m\]#\[\033[00;45m\]\u\[\033[00m\]@\[\033[00;41m\]\h|$(uname)|$(uname -m)\[\033[00m\]::\[\033[00;44m\]\w\[\033[00m\]> '
PS1='<\[\033[00;32m\]\t\[\033[00m\]#\[\033[00;35m\]\u\[\033[00m\]@\[\033[00;31m\]\h|$(uname)|$(uname -m)\[\033[00m\]::\[\033[00;34m\]\w\[\033[00m\]> '
else
PS1='<\t#\u@\h($(uname)-$(uname -m)):\w> ' # \w shows absolute path, \W shows current folder.
fi