Browse Source

Read the entire history in history-stat

By default history acts like 'fc -l', which only gives the last 16
entries of the history.
master
Colin Hebert 13 years ago committed by Sorin Ionescu
parent
commit
dd0083f11a
  1. 2
      utility.zsh

2
utility.zsh

@ -8,7 +8,7 @@
# #
# Lists the ten most used commands. # 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. # Serves a directory via HTTP.
alias http-serve='python -m SimpleHTTPServer' alias http-serve='python -m SimpleHTTPServer'

Loading…
Cancel
Save