We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa1f4c commit 0866b07Copy full SHA for 0866b07
PipeScript.ps1.psm1
@@ -8,7 +8,9 @@ foreach ($transpilerCmd in Get-Transpiler) {
8
Set-Alias ".<$($transpilerCmd.DisplayName)>" Use-PipeScript
9
}
10
11
+$MyModule = $MyInvocation.MyCommand.ScriptBlock.Module
12
foreach ($cmd in $ExecutionContext.SessionState.InvokeCommand.GetCommands('*','Function', $true)) {
13
+ if ($cmd.ScriptBlock.Module -ne $MyModule) { continue }
14
if ($cmd.ScriptBlock.Attributes.AliasNames) {
15
$aliasNames += $cmd.ScriptBlock.Attributes.AliasNames
16
0 commit comments