diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-28 20:25:51 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-28 20:25:51 +0100 |
| commit | 67a182e1c9a76b0890dca8fa7447021eb7384b32 (patch) | |
| tree | 4414bac777147c1e395b2aadb3c90371a024f559 /bash/bashrc | |
| parent | Update new-c-proj (diff) | |
| download | dotfiles-67a182e1c9a76b0890dca8fa7447021eb7384b32.tar.gz dotfiles-67a182e1c9a76b0890dca8fa7447021eb7384b32.tar.bz2 dotfiles-67a182e1c9a76b0890dca8fa7447021eb7384b32.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | bash/bashrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc index 26a319a..f3c31e5 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -62,3 +62,9 @@ elif test "$TERM" = xterm; then export TERM=xterm-256color fi featherweight-off + + +# Use yellow colour on hostname if logged in remotely +if printenv | grep -q '^SSH_\(CONNECTION\|CLIENT\|TTY\)'; then + hostname-colour 33 +fi |
