From 4845f13627bd3969be40a1cfe67b30382da1f391 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 51dce06b..bf0cde60 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'