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
                My mistake, I moved bash function to zsh:
gr() {
  git rebase -i HEAD~$1
}
Solution:
function gr() {
  git rebase -i HEAD~$1
}
                        I had the same error with a different command (export), caused by an accidental recursive function definition. I could solve the problem by removing the unwanted function:
unset -f export
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With