From dd0083f11a3770bd417d5ee736b159acefd743b4 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Tue, 27 Mar 2012 19:38:22 +0100 Subject: [PATCH] Read the entire history in history-stat By default history acts like 'fc -l', which only gives the last 16 entries of the history. --- utility.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility.zsh b/utility.zsh index 51dce06..bf0cde6 100644 --- a/utility.zsh +++ b/utility.zsh @@ -8,7 +8,7 @@ # # Lists the ten most used commands. -alias history-stat="history | awk '{print \$2}' | sort | uniq -c | sort -n -r | head" +alias history-stat="history . | awk '{print \$2}' | sort | uniq -c | sort -n -r | head" # Serves a directory via HTTP. alias http-serve='python -m SimpleHTTPServer'