mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Load PSReadLine by correct name
Linux is case-sensitive, so the modules are too.
This commit is contained in:
1 parent
78dd93c1ac
commit
849ea50ab7
1 file changed
+1
-1
@@ -1545,7 +1545,7 @@ namespace Microsoft.PowerShell
|
||||
{
|
||||
// Create and open Runspace with PSReadline.
|
||||
defaultImportModulesList = DefaultInitialSessionState.Modules;
|
||||
DefaultInitialSessionState.ImportPSModule(new[] { "PSReadline" });
|
||||
DefaultInitialSessionState.ImportPSModule(new[] { "PSReadLine" });
|
||||
consoleRunspace = RunspaceFactory.CreateRunspace(this, DefaultInitialSessionState);
|
||||
try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user