From f1804ba6f361ce4b78516aa034ccedcba0ab2486 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sun, 14 Jan 2024 13:13:46 -0800 Subject: [PATCH] feat: $LightScript ( Fixes #104 ) --- LightScript.ps1.psm1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/LightScript.ps1.psm1 b/LightScript.ps1.psm1 index caae43e..45f6828 100644 --- a/LightScript.ps1.psm1 +++ b/LightScript.ps1.psm1 @@ -18,3 +18,8 @@ if ($home) { } } } + +$LightScript = $MyInvocation.MyCommand.ScriptBlock.Module +$LightScript.pstypenames.insert(0,'LightScript') + +Export-ModuleMember -Function * -Alias * -Variable LightScript \ No newline at end of file