mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-15 08:01:43 +00:00
Move history-stat from utility into history
This commit is contained in:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user