danielgtaylor / nesh

An enhanced, extensible interactive shell for Node.js and CoffeeScript
http://danielgtaylor.github.io/nesh/
MIT License
288 stars 27 forks source link

Use just `process.env.USERPROFILE` for user's home folder on Windows #23

Closed mklement0 closed 8 years ago

mklement0 commented 10 years ago

Removed reference to %HOMEPATH%, because it doesn't contain a drive spec. (e.g., it contains only \Users\Jdoe rather than C:\Users\Jdoe), whereas %USERPROFILE% does include the drive spec., which makes it the better choice - and the only variable required to support all flavors of Windows.

danielgtaylor commented 8 years ago

Thanks! :+1: