Skip to content

Commit 95e98ba

Browse files
committed
🔨 chore: chocolatey import-module & remove PSProjectManager
1 parent 09bb0bd commit 95e98ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Profile.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ foreach ($function in $(Get-ChildItem -Path "$env:DOTPOSH\Modules\*.ps1" -File).
5353
}
5454
Remove-Variable function
5555

56-
# PSProjectManager
57-
# This module allows you to manage and create projects from the command line.
58-
# For more information, see: https://github.com/jacquindev/PSProjectManager
59-
Import-Module "$env:DOTPOSH\Modules\PSProjectManager\PSProjectManager.ps1"
56+
# chocolatey
57+
if (Get-Command choco -ErrorAction SilentlyContinue) {
58+
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
59+
}
6060

6161
# Source config files
6262
foreach ($file in $(Get-ChildItem -Path "$env:DOTPOSH\Config\*" -Include *.ps1 -Recurse)) {

0 commit comments

Comments
 (0)