From a22a2870d7acb649ad8b69418042e76221487444 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 11 Dec 2023 03:02:37 +0100 Subject: Function ansiStrip init --- functions/ansiStrip.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'functions') 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 -- cgit v1.2.3