aboutsummaryrefslogtreecommitdiffstats
path: root/assets/shell.bash
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/shell.bash10
1 files changed, 5 insertions, 5 deletions
diff --git a/assets/shell.bash b/assets/shell.bash
index d36d1e5..fc4404b 100644
--- a/assets/shell.bash
+++ b/assets/shell.bash
@@ -3,12 +3,12 @@
_ducky_prompt() {
local status=$? branch
branch=$(git symbolic-ref --quiet --short HEAD 2>/dev/null) || branch=''
- PS1=$'\n\[\e[38;2;196;167;231m\]╭─ '
- PS1+='\[\e[38;2;222;215;232m\]\w'
+ PS1=$'\n\[\e[35m\]╭─ '
+ PS1+='\[\e[0m\]\w'
_ducky_branch=$branch
- [[ -n $branch ]] && PS1+=' \[\e[38;2;151;213;207m\]⎇ ${_ducky_branch}'
- [[ $status -ne 0 ]] && PS1+=" \[\e[38;2;235;139;156m\]${status}"
- PS1+=$'\n\[\e[38;2;196;167;231m\]╰─❯ \[\e[0m\]'
+ [[ -n $branch ]] && PS1+=' \[\e[36m\]⎇ ${_ducky_branch}'
+ [[ $status -ne 0 ]] && PS1+=" \[\e[31m\]${status}"
+ PS1+=$'\n\[\e[35m\]╰─❯ \[\e[0m\]'
}
# Keep other prompt hooks, then set Ducky's prompt last.
if declare -p PROMPT_COMMAND 2>/dev/null | grep -q 'declare -a'; then