aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc6
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