-
-
Couldn't load subscription status.
- Fork 122
Description
When I load Import-Module Terminal-Icons during my profile, and then load my custom module that contains Format.ps1xml files that are loaded via the Modules PSD1, they do not appear
Expected Behavior
Custom Format files to be applied when custom module is imported after Terminal-Icons
Current Behavior
No custom Format files seem to apply
Possible Solution
unknown, current workaround: not loading Terminal-Icons
Steps to Reproduce (for bugs)
- Import-Module Terminal-Icons
- Import any Module with Formats
- Run a command that would use one of the formats
Context
This has cost my afternoon/evening yesterday and let me to dream of code, not an unpleasant dreams, but Formats where merging into dynamic parameters, so you could class it as a nightmare?
Your Environment
- Module version used: 0.11.0
- Operating System and PowerShell version:
Name Value
---- -----
PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0NOTE: I admit, during writing of this issue, I have realized I only tested this in VsCode... it seems, the issue is with the VsCode terminal, as it works normally in Windows Terminal
Still wanted to bring it to your attention, if not useful, please close.