smart mark: lowercase variable for code style consistency
This commit is contained in:
parent
91f5409c43
commit
a31d37edad
@ -1305,10 +1305,9 @@ _lp_title()
|
|||||||
# to # if root and else $
|
# to # if root and else $
|
||||||
_lp_smart_mark()
|
_lp_smart_mark()
|
||||||
{
|
{
|
||||||
local COL
|
local color=${LP_COLOR_MARK}
|
||||||
COL=${LP_COLOR_MARK}
|
|
||||||
if [[ "$EUID" -eq "0" ]] ; then
|
if [[ "$EUID" -eq "0" ]] ; then
|
||||||
COL=${LP_COLOR_MARK_ROOT}
|
color=${LP_COLOR_MARK_ROOT}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local mark
|
local mark
|
||||||
@ -1334,7 +1333,7 @@ _lp_smart_mark()
|
|||||||
elif [[ "$1" == "disabled" ]]; then
|
elif [[ "$1" == "disabled" ]]; then
|
||||||
mark=$LP_MARK_DISABLED
|
mark=$LP_MARK_DISABLED
|
||||||
fi
|
fi
|
||||||
echo -ne "${COL}${mark}${NO_COL}"
|
echo -ne "${color}${mark}${NO_COL}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# insert a space on the right
|
# insert a space on the right
|
||||||
|
Loading…
Reference in New Issue
Block a user