From 3060c5a2ef476a3ca153b18317a1d44dfe905027 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 26 Aug 2026 19:35:27 +0200 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 7d72c8b2..af5f4c77 100755 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -333,7 +333,7 @@ json2perl() { hl(){ #cat | grep --color=always -E "(^|($@))" local color=red - if [ "$1" = "-color" ]; then + if [ "$1" = "-c" ] || [ "$1" = "--color" ] || [ "$1" = "-color" ]; then shift color=$1 shift -- 2.47.3