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
When PowerShell attempts to load the default $PROFILE, the following error is returned:
expected one of 'bash', 'bash-ble', 'elvish', 'export', 'fish', 'ion', 'nushell', 'oil', 'powershell', 'tcsh', 'xonsh', 'zsh' [was: ]Invoke-Expression: C:\Users\XXXX\Documents\PowerShell\Microsoft.PowerShell_profile.ps1:266Line | 266 | carapace _carapace | Out-String | Invoke-Expression | ~~~~~~~~~~~~~~~~~ | Cannot bind argument to parameter 'Command' because it is an empty string.Loading personal and system profiles took 24758ms.
Expected Behavior
The $PROFILE loads correctly.
Steps To Reproduce
Follow carapace setup instructions exactly after running winget install from Admin prompt.
Copy and paste code block into default "...PowerShell_profile.ps1" file.
Current Behavior
When PowerShell attempts to load the default
$PROFILE
, the following error is returned:Expected Behavior
The
$PROFILE
loads correctly.Steps To Reproduce
winget install
from Admin prompt.Version
7.5.0-preview.3
OS
Shell
Anything else?
~/.config/powershell/Microsoft.PowerShell_profile.ps1
$env:CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense' # optional
Set-PSReadLineOption -Colors @{ "Selection" = "`e[7m" }
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
carapace _carapace | Out-String | Invoke-Expression
The text was updated successfully, but these errors were encountered: