Changing Cygwin Username and $HOME Directory
On first installing Cygwin, the username is inherited from Windows, and the $HOME directory is created from this username. This is particularly annoying if Windows was originally set up with a multi-word username such as “Firstname Lastname”. This quick guide will show how to change the username and $HOME directory to something more simple.