Load-Module.ps1 251 B

12345678910
  1. <#
  2. .SYNOPSIS
  3. Loads the Terminal.Gui.PowerShell modules and pushes the current path to the location stack.
  4. #>
  5. $tgScriptsPath = Push-Location -PassThru
  6. $tgModule = Import-Module "./Terminal.Gui.PowerShell.psd1" -PassThru
  7. Set-PowerShellEnvironment