From 3e62a4964f8ca06ac55710d69007910728a35251 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 11 Dec 2023 03:02:57 +0100 Subject: Egreg to a function instead of an alias --- functions/egrep.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'functions') diff --git a/functions/egrep.fish b/functions/egrep.fish index 271b6ce..f8d8040 100644 --- a/functions/egrep.fish +++ b/functions/egrep.fish @@ -1 +1,4 @@ -alias egrep='egrep --color=auto' +#Greg with regex and color +function egrep --description 'Grep with regex and color' --wraps egrep + egrep --color=auto +end -- cgit v1.2.3