From 14e928e58980736981b998d15c444e04ca813949 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 12 Jun 2019 17:55:56 -0700 Subject: [PATCH] remove exts and freq i never use these --- README.md | 25 ------------------------- home/-shrc | 3 --- 2 files changed, 28 deletions(-) diff --git a/README.md b/README.md index 8956147..754b7a2 100644 --- a/README.md +++ b/README.md @@ -45,31 +45,6 @@ export CC="$(has clang || has clang-3.8 || has gcc)" reverses the 4-byte endianness of a file. this is an in-place operation! -### exts - -prints and sorts the most used file extensions in the CWD. - -### freq - -prints the most frequently used commands found in `~/.histfile`. -arguments are passed to `head`. - -``` -$ freq - 2533 git - 1600 tw - 1572 twitch - 1019 yt - 994 wipe; - 621 compile - 616 ls - 567 gd - 522 ssh - 521 less -``` - -**TODO:** fix `:` and extraneous semicolons showing up in results. - ### nocom strips lines that begin with a `#` character. diff --git a/home/-shrc b/home/-shrc index d1c8180..5914dee 100644 --- a/home/-shrc +++ b/home/-shrc @@ -134,9 +134,6 @@ ll() { # providing extra functionality alias counts='find . | wc -l' -alias exts='print -l *(:e:l) | sort | uniq -c | sort -n' -alias freq="cut -d' ' -f1 < ~/.histfile | sort | uniq -c | sort -rn | head" -# alias nocom='grep -Ev --line-buffered --color=never "^[[:space:]]*(//|#)"' alias jrep='grep -aPo "[\x{20}-\x{7E}\x{4E00}-\x{9FFF}\x{3040}-\x{30FF}]+"' alias bomb='uconv -f utf-8 -t utf-8 --add-signature'