|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
#
|
|
|
|
|
# Sets history options.
|
|
|
|
|
# Sets history options and defines history aliases.
|
|
|
|
|
#
|
|
|
|
|
# Authors:
|
|
|
|
|
# Robby Russell <robby@planetargon.com>
|
|
|
|
@ -24,3 +24,7 @@ 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"
|
|
|
|
|
|
|
|
|
|