ssh_config icon indicating copy to clipboard operation
ssh_config copied to clipboard

Add a Command to Reload a Config File

Open oneirocosm opened this issue 1 year ago • 0 comments

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.

oneirocosm avatar Dec 21 '23 07:12 oneirocosm