pub fn tilde_expand(path: &str) -> Result<PathBuf>
Expands a tilde (~) in a path and returns the expanded PathBuf.
PathBuf