Various changes

+ added hist to show most used commands
+ changed vim colorscheme back to my own
+ added g() function thanks to r00k
This commit is contained in:
Nick Nisi
2013-04-13 07:54:58 -05:00
parent fc7dd3d96d
commit 19ee3adfec
3 changed files with 15 additions and 5 deletions

View File

@@ -19,6 +19,9 @@ function md() {
mkdir -p "$@" && cd "$@"
}
function hist() {
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
}
# find shorthand
function f() {