From 08e896e7308aa3c9388f86fee74e67f9c30a7550 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 25 Oct 2017 23:57:54 +0100 Subject: [PATCH] etc/profile.d/functions --- etc/profile.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.47.3