Move history-stat from utility into history
This commit is contained in:
parent
3c0cb33496
commit
8ed700e106
2 changed files with 5 additions and 4 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# Lists the ten most used commands.
|
||||
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'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue