Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--.bashrc2
diff --git a/.bashrc b/.bashrc
index 7457c0b..87e392f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -72,7 +72,7 @@ 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" ] && {
+ [ -n "$IN_NIX_SHELL" -o -n "$NIX_GCROOT" -o -n "$SSH_TTY" ] && {
hc_mode && PS_USER_BG=67 || PS_USER_BG=46;
}