aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash_include6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash_include b/bash_include
index 187ae89..0e2d5bd 100644
--- a/bash_include
+++ b/bash_include
@@ -16,6 +16,12 @@ if [[ "$-" == *i* ]] ; then interactive_shell=1; fi
colorprompting='\[\e[1;31m\]\!\[\e[m\] [\[\e[1;33m\]\u\[\e[m\]@\[\e[1;32m\]\h\[\e[m\] \[\e[1;36m\]\w\[\e[m\]]\$ '
nocolorprompting='\! [\u@\h \w]\$ '
+if [ "$SSH_CONNECTION" ]
+then
+ colorprompting="\[\e[1;44m\]*\[\e[m\]$colorprompting"
+ nocolorprompting="*$nocolorprompting"
+fi
+
historycountfile="$HOME/.bash_history.count"
historybackupfile="$HOME/.bash_history.bak"
bgrunfiledir="$HOME/tmp/bgrun-`whoami`"