Issue #107 - same error appears with LP_ENABLE_SSH_COLORS new feature

Same problem as #107, same solution ;)
This commit is contained in:
Luc Didry 2013-03-12 20:33:25 +01:00
parent 0ee5944f79
commit d8d7e28be3

View File

@ -386,7 +386,7 @@ lcl)
;; ;;
ssh) ssh)
# If we want a different color for each host # If we want a different color for each host
if [[ "$LP_ENABLE_SSH_COLORS" ]]; then if [[ "$LP_ENABLE_SSH_COLORS" -eq "1" ]]; then
# compute the hash of the hostname # compute the hash of the hostname
# and get the corresponding number in [1-6] (red,green,yellow,blue,purple or cyan) # and get the corresponding number in [1-6] (red,green,yellow,blue,purple or cyan)
# FIXME check portability of cksum and add more formats (bold? 256 colors?) # FIXME check portability of cksum and add more formats (bold? 256 colors?)