From e5e42af386d4266544f1558a8292a9109210528c Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 20 Apr 2024 14:15:44 -0700 Subject: [PATCH] feat: Exposing $4bitcss ( Fixes #47 ) --- 4bitcss.ps.psm1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/4bitcss.ps.psm1 b/4bitcss.ps.psm1 index f7afb77777..bd365348ae 100644 --- a/4bitcss.ps.psm1 +++ b/4bitcss.ps.psm1 @@ -1 +1,7 @@ -[Include('*-*.ps1')]$PSScriptRoot \ No newline at end of file +[Include('*-*.ps1')]$PSScriptRoot + +$myModule = $MyInvocation.MyCommand.ScriptBlock.Module +$ExecutionContext.SessionState.PSVariable.Set($myModule.Name, $myModule) +$myModule.pstypenames.insert(0, $myModule.Name) + +Export-ModuleMember -Function *-* -Alias * -Variable $myModule.Name \ No newline at end of file