no space after hostname

This commit is contained in:
nojhan 2012-07-17 11:02:30 +02:00
parent cde8a236a6
commit b8d646048e

View File

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