Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JoshuaCrewe/708df146022e4c9d99aa97cdb71e4f62 to your computer and use it in GitHub Desktop.
Save JoshuaCrewe/708df146022e4c9d99aa97cdb71e4f62 to your computer and use it in GitHub Desktop.
Error : maximum nested function level reached with `set -x`
Joshua% ls
+_check_aliases:5> k=ga
+_check_aliases:6> local 'v=git add '
+local:6> local 'best_match='
+local:6> local 'best_match='
+local:6> local 'best_match='
+local:6> local 'best_match='
+local:6> local 'best_match='
...
There are lots of these
...
+local:6> local 'best_match='
+local:6> local 'best_match='
+local:6> local 'best_match='
+local:6> local 'best_match='
+local:6> local 'best_match='
local:6: maximum nested function level reached
+-zsh:14> ls -G
Applications Desktop Homestead Pictures localhost tmp
Brewfile Documents Library Public node_modules vagrant-local
Code Downloads Movies VirtualBox VMs offlineimap
Creative Cloud Files Dropbox Music dotfiles postponed
@MichaelAquilina
Copy link

I'm actually surprised how many of local:6> local 'best_match=' are found.

Could you try running _check_aliases "git add something" and see if you get the same error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment