From a31d37edad294eb3f8e7109baaec9911b75eb9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Tue, 11 Jun 2013 22:14:26 +0200 Subject: [PATCH] smart mark: lowercase variable for code style consistency --- liquidprompt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/liquidprompt b/liquidprompt index 573ab5b..8d6c430 100755 --- a/liquidprompt +++ b/liquidprompt @@ -1305,10 +1305,9 @@ _lp_title() # to # if root and else $ _lp_smart_mark() { - local COL - COL=${LP_COLOR_MARK} + local color=${LP_COLOR_MARK} if [[ "$EUID" -eq "0" ]] ; then - COL=${LP_COLOR_MARK_ROOT} + color=${LP_COLOR_MARK_ROOT} fi local mark @@ -1334,7 +1333,7 @@ _lp_smart_mark() elif [[ "$1" == "disabled" ]]; then mark=$LP_MARK_DISABLED fi - echo -ne "${COL}${mark}${NO_COL}" + echo -ne "${color}${mark}${NO_COL}" } # insert a space on the right