Skip to content

Commit e4516c2

Browse files
misc feedback
1 parent c447d84 commit e4516c2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

module/PowerShellEditorServices/Commands/PowerShellEditorServices.Commands.psd1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ FunctionsToExport = @('Register-EditorCommand',
7777
'Out-CurrentFile',
7878
'Join-ScriptExtent',
7979
'Test-ScriptExtent',
80-
'psedit',
8180
'Open-EditorFile')
8281

8382
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
@@ -87,7 +86,7 @@ CmdletsToExport = @()
8786
VariablesToExport = @()
8887

8988
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
90-
AliasesToExport = @()
89+
AliasesToExport = @('psedit')
9190

9291
# DSC resources to export from this module
9392
# DscResourcesToExport = @()

src/PowerShellEditorServices/Session/RemoteFileManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class RemoteFileManager
7272
[string] $PSEditFunction
7373
)
7474
75-
Register-EngineEvent -SourceIdentifier PSESRemoteSessionOpenFile {0}
75+
Register-EngineEvent -SourceIdentifier PSESRemoteSessionOpenFile -Forward
7676
7777
if ((Test-Path -Path 'function:\global:Open-EditorFile') -eq $false)
7878
{{

0 commit comments

Comments
 (0)