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:266
Line |
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.
The $PROFILE
loads correctly.
winget install
from Admin prompt.7.5.0-preview.3
$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
And now that I'm reading it, I'm thinking that optional line does not apply since I do not have zsh, fish or inshellisense installed. π€¦π½ββοΈ
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too