From 1eeaed63f503501f7370caf9776c8334f4edb2e4 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 1 Sep 2016 17:12:38 +0100 Subject: [PATCH] hl --- 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 c742d943..2e94ff09 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -183,7 +183,7 @@ json2perl() { ################################################################################# hl(){ #cat | grep --color=always -E "(^|($@))" - perl -MTerm::ANSIColor -pe '$e=qq|'$@'|;$e=~s,/,\\/,g; s/($e)/color("red").$1.color("reset")/ge' + perl -MTerm::ANSIColor -pe '$e=qq@'$@'@;$e=~s,/,\\/,g; s/($e)/color("red").$1.color("reset")/ge' } ls_tree() { -- 2.47.3