hij1nx/complete — pull request #14 by mmalecki (2013-03-20 17:36:29+00:00)
Title: [fix] Use `process.env.HOMEPATH` if $HOME isn't set

Due to changes in node v0.10, `path.join` no longer accepts `undefined`
as a correct parameter which causes this module to fail on Windows,
which sets $HOMEPATH instead of $HOME.

Disclaimer: I have no actual idea if this'll make the module work on
Windows. It might if people have a full bash shell set up.