diff options
| author | Syndamia <kamen@syndamia.com> | 2025-03-01 12:31:43 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-03-01 12:31:43 +0200 |
| commit | e88648f2cc98b4125454d837dfe7b244a5771e5c (patch) | |
| tree | 9bb9107b741f96ce0e71613e4c085a78b308a401 | |
| parent | e406848e48b4bef66572d94feead19a4f382a561 (diff) | |
| download | dotfiles-e88648f2cc98b4125454d837dfe7b244a5771e5c.tar dotfiles-e88648f2cc98b4125454d837dfe7b244a5771e5c.tar.gz dotfiles-e88648f2cc98b4125454d837dfe7b244a5771e5c.zip | |
fix(bash): Make low-color mode colors correspond to 4bit values
| -rw-r--r-- | .bashrc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -69,18 +69,18 @@ export PROMPT_COMMAND="shell_var_fix;" } PS_BG=0 - hc_mode && PS_FG=223 || PS_FG=7 - hc_mode && PS_USER_BG=66 || PS_USER_BG=4 + hc_mode && PS_FG=223 || PS_FG=37 + hc_mode && PS_USER_BG=66 || PS_USER_BG=44 # Thanks https://github.com/NixOS/nix/issues/9174#issuecomment-2054057401 [ -n "$IN_NIX_SHELL" -o -n "$NIX_GCROOT" ] && { - hc_mode && PS_USER_BG=67 || PS_USER_BG=6; + hc_mode && PS_USER_BG=67 || PS_USER_BG=46; } # Colors for reporting changes - hc_mode && PS_ERR=160 || PS_ERR=1 - hc_mode && PS_WARN=172 || PS_WARN=3 - hc_mode && PS_INFO=97 || PS_INFO=5 - hc_mode && PS_DBG=52 || PS_DBG=1 + hc_mode && PS_ERR=160 || PS_ERR=41 + hc_mode && PS_WARN=172 || PS_WARN=43 + hc_mode && PS_INFO=97 || PS_INFO=45 + hc_mode && PS_DBG=52 || PS_DBG=41 hc_mode && PS_TRIANGLE='' || PS_TRIANGLE='|' hc_mode && PS_TRIANGLE_BOT='' || PS_TRIANGLE='|' |
