Read the entire history in history-stat

By default history acts like 'fc -l', which only gives the last 16
entries of the history.
This commit is contained in:
Colin Hebert 2012-03-27 19:38:22 +01:00 committed by Sorin Ionescu
parent 25405b226b
commit dd0083f11a

View file

@ -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'