pub fn detect_activation_at_path(
shell: Shell,
program_name: &str,
target_path: &Path,
) -> Result<ActivationReport>Expand description
Detects activation state for an explicit completion file path.
This is useful when a caller installed to a custom path and wants detection against that exact file rather than the shell’s managed default location. If the explicit path matches the managed default path, detection keeps the shell’s default activation semantics.