test-modules startup script draft
This commit is contained in:
parent
baa3ccd04d
commit
0d5522b8c7
2 changed files with 2 additions and 0 deletions
1
profile.d/test-modules.ps1
Normal file
1
profile.d/test-modules.ps1
Normal file
|
@ -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": [
|
"Modules": [
|
||||||
"Microsoft.PowerShell.UnixCompleters",
|
"Microsoft.PowerShell.UnixCompleters",
|
||||||
|
"PowerShellCookbook",
|
||||||
"oh-my-posh",
|
"oh-my-posh",
|
||||||
"posh-git"
|
"posh-git"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue