Closed geier1993 closed 5 years ago
Had to declare opt, OPTARG and OPTIND to use getops within a function using zsh getopts. Otherwise no argumenst are iterated and SHELL is missing...
Thank you for the fix! I'll merge, but I'm also going to get my updated one in a separate PR for your review. I've iterated on this quite a few times on another project, and I had fixed this issue as well.
Had to declare opt, OPTARG and OPTIND to use getops within a function using zsh getopts. Otherwise no argumenst are iterated and SHELL is missing...