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'