Commit 09d2a597a5 introduced the bug, which is due to using
single brackets conditions at the same time as *.
This commit should fix it and use double brackets everywhere
else.
Fixes#4699
Some environments (in my case, cygwin) have PATH variables with directories
with spaces in them, breaking colored-man.
Adding quotes around the PATH environment variable makes the plugin run OK.