You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The explicit completion command uses clap_complete::Shell, which only accepts powershell, while Cortex’s own shell-detection helpers already recognize both powershell and pwsh as the same shell. This makes the CLI reject a shell name that the rest of Cortex already treats as valid.
Project
cortex
Description
The explicit completion command uses
clap_complete::Shell, which only acceptspowershell, while Cortex’s own shell-detection helpers already recognize bothpowershellandpwshas the same shell. This makes the CLI reject a shell name that the rest of Cortex already treats as valid.Error Message
Debug Logs
System Information
OS: Windows 10 RAM: 16 GB CPU: Intel(R) Core(TM) i7-1165G7 @ 2.8GHz(8 CPUs), ~2.8GHScreenshots
pwsh_o8BueHSZij.mp4
Steps to Reproduce
cortex completion pwsh.Expected Behavior
pwshshould be accepted as an alias for PowerShell, consistent with Cortex’s internal shell detection.Actual Behavior
The command rejects
pwsh, even though other Cortex code paths mappwshto PowerShell.Additional Context