test-modules startup script draft

This commit is contained in:
lksz 2020-11-05 00:08:59 -05:00
父節點 baa3ccd04d
當前提交 0d5522b8c7
共有 2 個文件被更改,包括 2 次插入0 次删除

查看文件

@ -0,0 +1 @@
$(Get-Content $MyPSScriptRoot/src/modules.json | ConvertFrom-Json).Modules | Where-Object { try{-not (Get-Module -ListAvailable $_aaa -ErrorAction stop) }catch{} } | ForEach-Object { Write-Warning "Missing module: $_" }

查看文件

@ -1,6 +1,7 @@
{
"Modules": [
"Microsoft.PowerShell.UnixCompleters",
"PowerShellCookbook",
"oh-my-posh",
"posh-git"
]