From b47b845b13600bbee9fe5e0139fe5b98b346b266 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Wed, 4 Apr 2012 14:03:38 -0400 Subject: [PATCH] Move history-stat from utility into history --- modules/history/init.zsh | 5 +++++ modules/utility/init.zsh | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/history/init.zsh b/modules/history/init.zsh index 5b5b9b3..432184e 100644 --- a/modules/history/init.zsh +++ b/modules/history/init.zsh @@ -24,3 +24,8 @@ setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording en setopt HIST_VERIFY # Don't execute immediately upon history expansion. setopt HIST_BEEP # Beep when accessing nonexistent history. +# Aliases + +# Lists the ten most used commands. +alias history-stat="history . | awk '{print \$2}' | sort | uniq -c | sort -n -r | head" + diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index ffe3675..52126e6 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -7,9 +7,6 @@ # Sorin Ionescu # -# Lists the ten most used commands. -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'