mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 19:48:00 +00:00
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:
parent
25405b226b
commit
dd0083f11a
@ -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…
Reference in New Issue
Block a user