summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCasey Robinson <kc@rampantmonkey.com>2013-11-20 20:55:15 (GMT)
committerCasey Robinson <kc@rampantmonkey.com>2013-11-20 20:55:15 (GMT)
commit029e747410a51d37bc0bd48ff18b8844280a80b3 (patch)
treeeebb4621b04e2d5596294b6a10e2f382979b1557
parent3860f8673ff97f560bd7ef7f28e018e4df476b50 (diff)
downloaddot_files-029e747410a51d37bc0bd48ff18b8844280a80b3.zip
dot_files-029e747410a51d37bc0bd48ff18b8844280a80b3.tar.gz
dot_files-029e747410a51d37bc0bd48ff18b8844280a80b3.tar.bz2
add history histogram pipeline alias
-rw-r--r--zsh/aliases2
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/aliases b/zsh/aliases
index 0de60cb..f018a63 100644
--- a/zsh/aliases
+++ b/zsh/aliases
@@ -45,3 +45,5 @@ pk() {
}
alias mutt='TERM=screen-256color mutt'
+
+alias h="history 1 | awk '{print \$2}' | awk 'BEGIN {FS=\"|\"} {print \$1}' | sort | uniq -c | sort -r | head -n 20"