Skip to content

Commit

Permalink
Don't setup posh config json
Browse files Browse the repository at this point in the history
There is a bug in PowerShell that is making it fail.
See: PowerShell/PowerShell#20706
  • Loading branch information
giggio committed Apr 29, 2024
1 parent 5d03916 commit 71e526c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Setup/InstallModules.ps1
Expand Up @@ -52,6 +52,7 @@ function FixJsonConfigFile {
# this is for PowerShell Core which is be done via config file
# see: help about_powershell_config
# https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_powershell_config
return # todo: remove this when the startup bug is fixed: https://github.com/PowerShell/PowerShell/issues/20706
$pwshUserDir = Split-Path $PROFILE.CurrentUserCurrentHost
if (!(Test-Path $pwshUserDir)) { New-Item -ItemType Directory -Path $pwshUserDir }
$pwshConfigFile = Join-Path $pwshUserDir powershell.config.json
Expand Down

0 comments on commit 71e526c

Please sign in to comment.