From 40c3f618199c872900d1806013b8e813fc9c9275 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 21 Apr 2018 01:14:16 +0100 Subject: [PATCH] Remove broken ANSI codes from 'env' --- aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aliases b/aliases index cd4f162..cd9732e 100644 --- a/aliases +++ b/aliases @@ -56,7 +56,7 @@ alias pacaur='pacaur --color=always' alias tree='tree --dirsfirst -C -F' alias make="make -j$(nproc)" alias dd='dd status=progress' -alias env='env | sort' +alias env='env | sort | sed -r "s/\x1B\[(([0-9]+)(;[0-9]+)*)?[m,K,H,f,J]//g"' alias ssh="ssh -tt" vim --version 2>/dev/null | command grep -q +clientserver && \ alias vim="vim --servername vim -p"