shayne / go-wsl2-host

Automatically update your Windows hosts file with the WSL2 VM IP address
1.65k stars 140 forks source link

Additional separator for hosts in .wsl2hosts #48

Open neunzehn86 opened 3 years ago

neunzehn86 commented 3 years ago

I use this application with success so far and it's very helpful.

For better overview of the .wsl2hosts file it could help if it would be possible to write hosts not only in one line separated by a blank space but by breaking spaces too (maybe with additional comments?).

Example how it works now:

test1.tld test2.tld dev1.tld

It would be nice if it would works on this way:

# Some stuff
test1.tld
test2.tld
# Other stuff
dev1.tld