Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 4 insertions, 1 deletions
-rw-r--r--.bashrc5
diff --git a/.bashrc b/.bashrc
index 87e392f..c1ca23c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -72,9 +72,12 @@ export PROMPT_COMMAND="shell_var_fix;"
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" -o -n "$SSH_TTY" ] && {
+ [ -n "$IN_NIX_SHELL" -o -n "$NIX_GCROOT" ] && {
hc_mode && PS_USER_BG=67 || PS_USER_BG=46;
}
+ [ -n "$SSH_TTY" ] && {
+ hc_mode && PS_USER_BG=64 || PS_USER_BG=42;
+ }
# Colors for reporting changes
hc_mode && PS_ERR=160 || PS_ERR=41