diff options
| Commit | d6f74bb6dbc9f9537ce079e81e017c7c450d1b66 (patch) | |
|---|---|---|
| Author | 2025-07-25 16:02:33 +0300 | |
| Committer | 2025-07-25 16:02:33 +0300 | |
| Files | 8773185789745c275dbaa013266f32c683529df8 | |
| .files-d6f74bb6dbc9f9537ce079e81e017c7c450d1b66.tar .files-d6f74bb6dbc9f9537ce079e81e017c7c450d1b66.tar.gz .files-d6f74bb6dbc9f9537ce079e81e017c7c450d1b66.zip | ||
| Parent | 25a6ea575ee9069f758595cab270a8c9445fa846 (diff) | |
feat(.bashrc): Change color user prompt color when in SSH, alongside NIX shell
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | .bashrc | 2 |
@@ -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; } |
