diff options
author | yleo77 <ylep77@gmail.com> | 2013-05-22 17:00:08 +0800 |
---|---|---|
committer | yleo77 <ylep77@gmail.com> | 2013-05-22 17:00:08 +0800 |
commit | 00848cd8b7347e9b793a2ac6170498e6592dde56 (patch) | |
tree | 9d6b2a3556f024c737e16dcbe1faadf1b5503459 /plugins | |
parent | a9111488e4945a29b8afa9a4eab12ee2e6fc9a0e (diff) | |
download | zsh-00848cd8b7347e9b793a2ac6170498e6592dde56.tar.gz zsh-00848cd8b7347e9b793a2ac6170498e6592dde56.tar.bz2 zsh-00848cd8b7347e9b793a2ac6170498e6592dde56.zip |
add gf alias for git flow
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/git-flow/git-flow.plugin.zsh | 3 | ||||
-rw-r--r-- | plugins/git/git.plugin.zsh | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh index ab9c0c848..58c31d756 100644 --- a/plugins/git-flow/git-flow.plugin.zsh +++ b/plugins/git-flow/git-flow.plugin.zsh @@ -20,6 +20,9 @@ # c. Or, use this file as a oh-my-zsh plugin. # +#Alias +alias gf='git flow' + _git-flow () { local curcontext="$curcontext" state line diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 6c016aa6b..af0189fdc 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -63,7 +63,10 @@ compdef _git gm=git-merge alias grh='git reset HEAD' alias grhh='git reset HEAD --hard' alias gwc='git whatchanged -p --abbrev-commit --pretty=medium' -alias gf='git ls-files | grep' + +#remove the gf alias +#alias gf='git ls-files | grep' + alias gpoat='git push origin --all && git push origin --tags' # Will cd into the top of the current repository |