Browse Source

Move history-stat from utility into history

master
Sorin Ionescu 12 years ago
parent
commit
b47b845b13
  1. 5
      modules/history/init.zsh
  2. 3
      modules/utility/init.zsh

5
modules/history/init.zsh

@ -24,3 +24,8 @@ setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording en @@ -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"

3
modules/utility/init.zsh

@ -7,9 +7,6 @@ @@ -7,9 +7,6 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# 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'

Loading…
Cancel
Save