no space after hostname

This commit is contained in:
nojhan 2012-07-17 11:02:30 +02:00
commit 8fbb464288

View file

@ -121,11 +121,11 @@ __host_color()
if [ "$conn" == "lcl" ] ; then
ret="${ret}" # no hostname if local
elif [ "$conn" == "ssh" ] ; then
ret="${ret}@${LIGHT_CYAN}\h "
ret="${ret}@${LIGHT_CYAN}\h"
elif [ "$conn" == "tel" ] ; then
ret="${ret}@${WARN_RED}\h "
ret="${ret}@${WARN_RED}\h"
else
ret="${ret}@\h "
ret="${ret}@\h"
fi
echo -ne "${ret}${NO_COL}"