Skip to content

Commit

Permalink
removed compdefs and added glean
Browse files Browse the repository at this point in the history
  • Loading branch information
cjayross committed Apr 15, 2020
1 parent 3aa4436 commit 4c513f9
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions gsh.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,13 @@ function gadd() {
git add ${*:---all}
}

function gebase() {
git rebase ${*:---interactive}
}

alias gush='git push'
alias gorcepush='git push --force-with-lease'
alias gull='git pull'
alias giff='git diff'
alias gash='git stash'
alias gerge='git merge'
alias gebase='git rebase'
alias getch='git fetch'
alias granch='git branch'
alias ginit='git init'
Expand All @@ -53,24 +50,4 @@ alias gevert='git revert'
alias glame='git blame'
alias geset='git reset'
alias gemote='git remote'

compdef _git-push gush
compdef _git-push gorcepush
compdef _git-pull gull
compdef _git-add gadd
compdef _git-diff giff
compdef _git-stash gash
compdef _git-merge gerge
compdef _git-fetch getch
compdef _git-branch granch
compdef _git-init ginit
compdef _git-rebase gebase
compdef _git-commit gommit
compdef _git-commit gamend
compdef _git-log gog
compdef _git-status gatus
compdef _git-checkout geckout
compdef _git-revert gevert
compdef _git-blame glame
compdef _git-reset geset
compdef _git-remote gemote
alias glean='git clean'

0 comments on commit 4c513f9

Please sign in to comment.