function getGlobalDirectory() {
  // Windows
  if (typeof process.env.APPDATA != 'undefined') {
    return di.path.join(process.env.APPDATA, 'terminalizer');
  }

  return di.path.join(process.env.HOME, '.config/terminalizer');
}
Get the path of the global config directory

- For Windows, get the path of APPDATA
- For Linux and MacOS, get the path of the home directory 

@return {String}