arcticicestudio / snowsaw

A lightweight, plugin-driven and dynamic dotfiles bootstrapper.
MIT License
98 stars 8 forks source link

Add per-host capability to shell plugin #24

Open kbuley opened 6 years ago

kbuley commented 6 years ago

Currently, any configured script will execute on all hosts. This commit will allow for a host item in the config so that the script will only run on the specific host. A hostname of "-" will match all hosts. For backwards compatibility, a config with no host specified will run on all hosts.

arcticicestudio commented 6 years ago

Sorry for the long delay, haven't got the time to test and review the changes yet, but I'll definitely check it until next weekend. :watch:

kbuley commented 6 years ago

Too funny, I was literally just thinking about this. I got this notification about 10 seconds after I cd'd into my snowblocks directory to add something.