summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-12-11 03:02:37 +0100
committerache <ache@ache.one>2023-12-11 03:02:37 +0100
commita22a2870d7acb649ad8b69418042e76221487444 (patch)
treeb65622ea025f7f14948a091b949736f2dff8e94d /functions
parentSupport dotnet (diff)
Function ansiStrip init
Diffstat (limited to 'functions')
-rw-r--r--functions/ansiStrip.fish4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions/ansiStrip.fish b/functions/ansiStrip.fish
index 6b1f13e..000306d 100644
--- a/functions/ansiStrip.fish
+++ b/functions/ansiStrip.fish
@@ -1 +1,3 @@
- alias ansiStrip='sed 's/\x1b\[[0-9;]*m//g''
+function ansiStrip --description "Keep only ascii characters from the stream"
+ sed 's/\x1b\[[0-9;]*m//g'
+end