From b313077a10072cbb3c3c2ce2fdce55828616cec3 Mon Sep 17 00:00:00 2001 From: heavy Date: Wed, 30 Oct 2024 20:01:44 +0000 Subject: [PATCH] (prompt): Switch to simple prompt. Colors are missconfigured in windows terminal. Switched to simple prompt, maybe extending in future. --- dot_bashrc.d/executable_10.prompt.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dot_bashrc.d/executable_10.prompt.tmpl b/dot_bashrc.d/executable_10.prompt.tmpl index a55259b..0ca84ad 100644 --- a/dot_bashrc.d/executable_10.prompt.tmpl +++ b/dot_bashrc.d/executable_10.prompt.tmpl @@ -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