summaryrefslogtreecommitdiff
path: root/plugins/git-flow
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/git-flow')
-rw-r--r--plugins/git-flow/git-flow.plugin.zsh10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh
index ab9c0c848..4357c0895 100644
--- a/plugins/git-flow/git-flow.plugin.zsh
+++ b/plugins/git-flow/git-flow.plugin.zsh
@@ -5,7 +5,7 @@
#
# To achieve git-flow completion nirvana:
#
-# 0. Update your zsh's git-completion module to the newest verion.
+# 0. Update your zsh's git-completion module to the newest version.
# From here. http://zsh.git.sourceforge.net/git/gitweb.cgi?p=zsh/zsh;a=blob_plain;f=Completion/Unix/Command/_git;hb=HEAD
#
# 1. Install this file. Either:
@@ -17,9 +17,15 @@
#
# source ~/.git-flow-completion.zsh
#
-# c. Or, use this file as a oh-my-zsh plugin.
+# c. Or, use this file as an oh-my-zsh plugin.
#
+#Alias
+alias gf='git flow'
+alias gcd='git checkout develop'
+alias gch='git checkout hotfix'
+alias gcr='git checkout release'
+
_git-flow ()
{
local curcontext="$curcontext" state line