From d8d7e28be3a34fd79ccafa3ef26c2849b9fca27f Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Tue, 12 Mar 2013 20:33:25 +0100 Subject: [PATCH] Issue #107 - same error appears with LP_ENABLE_SSH_COLORS new feature Same problem as #107, same solution ;) --- liquidprompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidprompt b/liquidprompt index a152884..1a865d0 100755 --- a/liquidprompt +++ b/liquidprompt @@ -386,7 +386,7 @@ lcl) ;; ssh) # 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 # 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?)