ssh_config
ssh_config copied to clipboard
Add a Command to Reload a Config File
Currently, UserSettings.loadConfig has a type of sync.Once so the config files only need to be reloaded once. This can be inconvenient if the files need to be re-parsed for updated values in the future.
As discussed here, by making this a pointer to sync.Once, and adding a helper function, it would be possible to reload the configuration when necessary.