Added some completion scripts and updated some zsh config

This commit is contained in:
Nick Nisi
2012-07-03 09:42:18 -05:00
parent e23ce75e4e
commit 7ef38eba7c
9 changed files with 25 additions and 4 deletions

View File

@@ -15,9 +15,10 @@ alias grn='git_rename'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias sub-pull='git submodule foreach git pull origin master'
# a simple git rename file function
# git does not track case-sensitive changes to a filename.
function git_rename() {
function git-rename() {
git mv $1 "${2}-"
git mv "${2}-" $2
}