pub fn pretty_path(
    path: impl AsRef<Path>,
    strip: impl for<'a> Fn(&'a str) -> bool
) -> String
Expand description

Pretty format a file path. Also removes the path prefix from a command if wanted