diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-10 13:23:55 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-10 13:23:55 +0200 |
| commit | 00b945397e59cb32e0f8ea4bd71ce35b6dc689e8 (patch) | |
| tree | 7021dec35c245b125a3b015a9853c4f5201cb227 | |
| parent | 972b2efc034779bc5e1370b2eff08d72e51b3ea3 (diff) | |
| download | dotfiles-00b945397e59cb32e0f8ea4bd71ce35b6dc689e8.tar.gz dotfiles-00b945397e59cb32e0f8ea4bd71ce35b6dc689e8.zip | |
fix(bash): remove useless ${colors[bold_green]}
It was causing a bug when sourcing a script that `set -x`.
| -rw-r--r-- | .config/bash/prompt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/bash/prompt b/.config/bash/prompt index ff57de6..5c1e762 100644 --- a/.config/bash/prompt +++ b/.config/bash/prompt @@ -37,6 +37,6 @@ function prompt_git() { printf '%s%s ' "$branch" "${diverge:+ $diverge}" } -PS1=${colors[bold_green]}'[\u@\h'${colors[bold_white]}' \W $(prompt_git)$(prompt_shlvl)$(prompt_jobs)${colors[bold_green]}]\$'${colors[reset]}' ' +PS1=${colors[bold_green]}'[\u@\h'${colors[bold_white]}' \W $(prompt_git)$(prompt_shlvl)$(prompt_jobs)]\$'${colors[reset]}' ' # vim: ft=bash |
