pub fn resolve_path(target: &str, base: &str) -> StringExpand description
Resolve a cd target path against a base (current working) directory.
Absolute paths are returned as-is. ~ and ~/... expand via $HOME.
Relative paths are joined onto base.