mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Read the entire history on 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
c435dca233
commit
66cc898a65
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue