summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-12-11 03:02:57 +0100
committerache <ache@ache.one>2023-12-11 03:02:57 +0100
commit3e62a4964f8ca06ac55710d69007910728a35251 (patch)
treebb35c0bb213b396266ab5ba3bda1e0a1b392a60e /functions
parentFunction ansiStrip init (diff)
Egreg to a function instead of an alias
Diffstat (limited to 'functions')
-rw-r--r--functions/egrep.fish5
1 files changed, 4 insertions, 1 deletions
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