zplug: Most zplug commands don't work properly in a script
I’m trying to setup zplug in a bootstrap script. But after I clone it and source it, when the script gets to zplug update --self I keep getting a __job_control:set:4: can’t change option: monitor error.
If I run zplug update --self manually (in Terminal) it works. I’m guessing this has something to do with interactive vs non-interactive shell, but obviously the point of a bootstrap script is the latter…
What can I do?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 28 (18 by maintainers)
Sorry @NigoroJr, I’ll re-look into this with the latest version when I get chance.