Browse Source

add gf alias for git flow

yleo77 11 years ago
parent
commit
00848cd8b7
2 changed files with 7 additions and 1 deletions
  1. 3 0
      plugins/git-flow/git-flow.plugin.zsh
  2. 4 1
      plugins/git/git.plugin.zsh

+ 3 - 0
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

+ 4 - 1
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