nu_path

Function expand_tilde

Source
pub fn expand_tilde(path: impl AsRef<Path>) -> PathBuf
Expand description

Expand tilde (“~”) into a home directory if it is the first path component