From: Nicolas Boisselier Date: Wed, 25 Oct 2017 22:57:54 +0000 (+0100) Subject: etc/profile.d/functions X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=08e896e7308aa3c9388f86fee74e67f9c30a7550;p=nb.git etc/profile.d/functions --- diff --git a/etc/profile.d/functions b/etc/profile.d/functions index 742a02f3..0f2d427f 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -897,6 +897,6 @@ lscolors() { while [ $color -lt 245 ]; do echo -ne "$color: \\033[38;5;${color}mhello\\033[48;5;${color}mworld\\033[0m" printf '\t%s\n' "\\033[38;5;${color}mhello\\033[48;5;${color}mworld\\033[0m" - ((color++)); + color=$(($color+1)) done }