Skip to content

Commit

Permalink
feat: $LightScript ( Fixes #104 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Jan 14, 2024
1 parent 8624b75 commit f1804ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions LightScript.ps1.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ if ($home) {
}
}
}

$LightScript = $MyInvocation.MyCommand.ScriptBlock.Module
$LightScript.pstypenames.insert(0,'LightScript')

Export-ModuleMember -Function * -Alias * -Variable LightScript

0 comments on commit f1804ba

Please sign in to comment.