themattrix / bash-concurrent

Bash function to run tasks in parallel and display pretty output as they complete.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does this work with zsh?

NightMachinery opened this issue · comments

I checked the code superficially, it seems the only place it uses sth BASH specific is BASHOPTS?

It does not work with zsh, though I'd love it if it did. I ran some quick tests.

  1. use of compgen
  2. use of shopt
  3. As yet undetermined issue.

For the 3rd one, I just quickly disabled the lines causing 1 and 2, and the results of the demo are:
ERROR (concurrent): unexpected argument ''

I didn't spend any more time debugging why.