bashshellterminalzshoh-my-zsh

oh-my-zsh: git maximum nested function level reached


Get an error when I use standard git command:

[~/site]$ git branch
git:1: maximum nested function level reached

.zshrc:

plugins=(git osx colored-man gem brew go bundler rake rails)
source $ZSH/oh-my-zsh.sh

Solution

  • My mistake, I moved bash function to zsh:

    gr() {
      git rebase -i HEAD~$1
    }
    

    Solution:

    function gr() {
      git rebase -i HEAD~$1
    }