aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bash/aliases3
-rw-r--r--bash/bashrc6
2 files changed, 9 insertions, 0 deletions
diff --git a/bash/aliases b/bash/aliases
index d978492..75a1eda 100644
--- a/bash/aliases
+++ b/bash/aliases
@@ -69,6 +69,9 @@ alias l='ls -CF'
#DESCRIPTION: Go to the parent directory
alias ..="cd .."
+#DESCRIPTION: Print each argument, each on their own line
+alias echoln="printf '%s\n'"
+
#libnotify
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