From 59d3d7aa38558e91494e7d59ce90603c883e76a1 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 4 Mar 2016 13:15:03 +1100 Subject: [PATCH] Reimplement 'color' function --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index caf13d73..4d5291b5 100755 --- a/neofetch +++ b/neofetch @@ -2164,6 +2164,10 @@ setcolors () { fi } +color () { + printf "%b%s" "\033[38;5;${1}m" +} + # }}}