pub fn expand_leading_variable(path: &str, known: &KnownVars) -> Option<String>Expand description
Expand a target that starts with $NAME or ${NAME} from known — which
includes $TMPDIR from the environment unless the command rebound it.
None when the target starts with no variable or an unknown one.