diff options
author | ache <ache@ache.one> | 2023-12-11 03:02:37 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2023-12-11 03:02:37 +0100 |
commit | a22a2870d7acb649ad8b69418042e76221487444 (patch) | |
tree | b65622ea025f7f14948a091b949736f2dff8e94d /functions | |
parent | Support dotnet (diff) |
Function ansiStrip init
Diffstat (limited to 'functions')
-rw-r--r-- | functions/ansiStrip.fish | 4 |
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 |