Browse Source

Fixed a bug in FromPowerShellCookbook

master
Gal Szkolnik 1 year ago
parent
commit
d85aec0480
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      Aliases/nvim
  2. +1
    -1
      profile.d/FromPowerShellCookbook.ps1

+ 0
- 1
Aliases/nvim View File

@@ -1 +0,0 @@
Edit-TextFile

+ 1
- 1
profile.d/FromPowerShellCookbook.ps1 View File

@@ -15,7 +15,7 @@ if( Get-Module PowerShellCookbook ) {
Import-Module PowerShellCookbook -Cmdlet Add-ObjectCollector
}
#
. Get-Command Add-ObjectCollector SilentlyContinue | ForEach-Object {
. Get-Command Add-ObjectCollector -ErrorAction SilentlyContinue | ForEach-Object {
Add-ObjectCollector
Get-Item function:/Add-ObjectCollector | Remove-Item
}

Loading…
Cancel
Save