summaryrefslogtreecommitdiff
path: root/functions/ansiStrip.fish
diff options
context:
space:
mode:
Diffstat (limited to 'functions/ansiStrip.fish')
-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