Avoid ~ in the config.