test-modules startup script draft

Este commit está contenido en:
lksz 2020-11-05 00:08:59 -05:00
padre baa3ccd04d
commit 0d5522b8c7
Se han modificado 2 ficheros con 2 adiciones y 0 borrados

1
profile.d/test-modules.ps1 Archivo normal
Ver fichero

@ -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: $_" }

Ver fichero

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