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

@@ -1,5 +1,4 @@
# git aliases
alias g='git'
alias ga='git add'
alias gb='git branch'
alias gl='git pull'
@@ -33,3 +32,13 @@ function git-rename() {
git mv $1 "${2}-"
git mv "${2}-" $2
}
function g() {
if [[ $# > 0 ]]; then
# if there are arguments, send them to git
git $@
else
# otherwise, run git status
git s
fi
}