diff --git a/file/config.go b/file/config.go index 9195e01..386edae 100644 --- a/file/config.go +++ b/file/config.go @@ -20,7 +20,7 @@ type NetworkConfig struct { // Parse a file into a UserConfig func parseConfig(filename string) (*Config, error) { - data, err := os.ReadFile(filename) + data, err := os.ReadFile(config.ExpandHomeDir(filename)) if err != nil { return nil, err }