fn expand_tilde(path: &str) -> PathBuf
Expand ~ at the start of a path to the user’s home directory.
~