From 969ac83d1557b76fb1bdfe227bec699a39f9743c Mon Sep 17 00:00:00 2001 From: tiynger Date: Fri, 1 Nov 2019 11:15:16 +0100 Subject: [PATCH] alaiasing script to human readable --- .config/aliasrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/aliasrc b/.config/aliasrc index 8c05d15..5c0da5a 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -60,6 +60,9 @@ alias rm="rm -i" # root/sudo alias su="sudo -i" +# script +alias scriptclear="cat typescript | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g' | col -b > typescript-processed" + # nvim alias svim="sudo nvim" command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d"