From 1ece94644cd17ebb5cb2da93ac05361e5107a1fe Mon Sep 17 00:00:00 2001 From: xfnw Date: Wed, 3 Jan 2024 23:37:36 -0500 Subject: [PATCH] add irclen alias for checking if irc art will get cut off --- .zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.zshrc b/.zshrc index 8849904..f11caba 100644 --- a/.zshrc +++ b/.zshrc @@ -43,6 +43,7 @@ alias after="at now +" alias ddiff="datediff -f '%d days, %H hours, %M minutes, %S seconds'" alias m='eval $(xdotool getmouselocation --shell)' alias tess='tesseract ~/Pictures/scrot/$(ls -t ~/Pictures/scrot | head -n1) -' +alias irclen="tr '\3' 'c' | LC_ALL=C awk '{print length}' | sort -nr | head -n1" alias ncdu='ncdu --color off' alias sydi="sudo"