1
0
Fork 0

test-modules startup script draft

Dieser Commit ist enthalten in:
lksz 2020-11-05 00:08:59 -05:00
Ursprung baa3ccd04d
Commit 0d5522b8c7
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen

1
profile.d/test-modules.ps1 Normale Datei
Datei anzeigen

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

Datei anzeigen

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