mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Re-structured and formalized the scripts and modules.
This commit is contained in:
10
Scripts/Load-Module.ps1
Normal file
10
Scripts/Load-Module.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Loads the Terminal.Gui.PowerShell modules and pushes the current path to the location stack.
|
||||
#>
|
||||
|
||||
|
||||
$tgScriptsPath = Push-Location -PassThru
|
||||
$tgModule = Import-Module "./Terminal.Gui.PowerShell.psd1" -PassThru
|
||||
|
||||
Set-PowerShellEnvironment
|
||||
Reference in New Issue
Block a user