We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using PowerShell Core, currently version 6.1.1, z does not initialize properly with the following error:
Cannot index into a null array. At C:\Program Files\PowerShell\Modules\z\1.1.9\z.psm1:655 char:1 + $global:options['CustomArgumentCompleters']['z:JumpPath'] = $Completi ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
Reproduction Steps:
Install-Module -Name z Import-Module z
Workaround steps is to initialize the dictionary properly for the CustomArgumentCompleters:
if (-not $global:options['CustomArgumentCompleters']) { $global:options = @{CustomArgumentCompleters = @{}} }
What should be the proper answer here?
The text was updated successfully, but these errors were encountered:
This does not happen for "normal" Powershell. I also do not have Powershell Core installed. Happy to accept a pull request for this :)
Sorry, something went wrong.
There are no issues with current z and PS Core 7
No branches or pull requests
Using PowerShell Core, currently version 6.1.1, z does not initialize properly with the following error:
Reproduction Steps:
Workaround steps is to initialize the dictionary properly for the CustomArgumentCompleters:
What should be the proper answer here?
The text was updated successfully, but these errors were encountered: