format_shadowed_dcode_fix_command(
shadow: ShadowedDcode,
) -> str| Name | Type | Description |
|---|---|---|
shadow* | ShadowedDcode | The shadowing-binary description returned by
|
Return a session-scoped shell command to prefer the upgraded shim.
The command targets the shell that matches the current platform: PowerShell
on Windows (where _uv_tool_bin_dir can resolve %USERPROFILE%/.local/bin
and export/hash are not valid), and POSIX sh/bash/zsh elsewhere.