mafredri / zsh-async

Because your terminal should be able to perform tasks asynchronously without external tools!
MIT License
756 stars 37 forks source link

Avoid warning when WARN_CREATE_GLOBAL is active #41

Closed agkozak closed 4 years ago

agkozak commented 4 years ago

Version 1.8.2's $errfd has to be declared as a local variable, or else we get the warning

async_start_worker:37: numeric parameter errfd created globally in function async_start_worker

when the zsh option WARN_CREATE_GLOBAL is on.