mafredri / zsh-async

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

Protect from nounset option #66

Open urnathan opened 9 months ago

urnathan commented 9 months ago

If 'setopt nounset' is in effect, we must protect accesses to potentially unset variables.

This seemed the simplest way of achieving that.

urnathan commented 7 months ago

I fell over a couple more cases, so switched to adding 'unset' as a localoption rather than adjust yet more variable expansions.