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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user