(prompt): Switch to simple prompt.

Colors are missconfigured in windows terminal.
Switched to simple prompt, maybe extending in future.
This commit is contained in:
heavy 2024-10-30 20:01:44 +00:00
parent abbb1fd904
commit b313077a10

View File

@ -75,7 +75,8 @@ function setPrompt() {
DATE="$(datePrompt)"
PROMPT="${SYSTEM_PROMPT} ${TYPE_PROMPT}\n${USER_PROMPT}\n${DATE}"
PS1="${PROMPT} → \[$(res)\]"
# PS1="${PROMPT} → \[$(res)\]"
PS1="\n \[\033[0;34m\]┌─────(\[\033[1;35m\]\u@\h\[\033[0;34m\])─────(\[\033[1;32m\]\w\[\033[0;34m\]) \n └> \[\033[1;36m\]\$ \[\033[0m\]"
}
# example from http://stackoverflow.com/questions/4133904/ps1-line-with-git-current-branch-and-colors