Some minor fixes

This commit is contained in:
Alexander Gehrke 2013-05-16 13:14:41 +02:00
parent 9e8334698c
commit 0ddc13eaeb
3 changed files with 9 additions and 5 deletions

View file

@ -29,7 +29,7 @@ if [[ "`tput colors`" == "256" ]] || [[ "`tput colors`" == "88" ]] ; then
usercolor_mod=28
fi
if [ ! -z $SSH_CLIENT ]; then
if [ ! -z $SSH_CLIENT ] || [ ! -z $SSH_CONNECTION ]; then
usercolor_base=$((usercolor_base + usercolor_mod))
hostcolor="%{${FG[226]}%}"
else