@
geelaw 日常使用的是 windows terminal ,版本为 1.19.240130002 ,Powershell 版本 5.1.19041.3930 。
文件名类似这样:PS6C28.tmp ,PS6C29.tmp 。文件打开显示的是乱码:
ぃ墘墘墘墘墘墘墘墘墘墘墘墘墘墘墘墘墘墘蝥蒇狼昔摀锲勰容亱覚厴櫾墘覙厬詪厜嶖囧融蔺劾萏奶圐弃蒇狼蝸嬐媭厜嶖囧融蔺劾萏奶圐弃蒇狼蝸嬢媭€ぃ墘墘墘墘墘墘墘墘墘墘墘墘墘墘墘墘
不管是在 wt 或者 powershell 中,只要执行命令就会生成。不加载 profile 也生成
默认加载的 module 如下
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Script 2.0.0 PSReadline {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PS...
加载 profile 的话 module 如下
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Script 2.0.0 PSReadline {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PS...
Binary 1.1.0.0 PSScheduledJob {Add-JobTrigger, Disable-JobTrigger, Disable-ScheduledJob,...
Manifest 2.0.0.0 PSWorkflow {New-PSWorkflowExecutionOption, New-PSWorkflowSession, nwsn}