pub fn expand_tilde(path: &str) -> PathBuf
Expand a leading ~ against $HOME. Nothing else: a config path is not a shell word and should not behave like one.
~