Skip to content

Preview.4 - Remove-Module PSReadLine stops Tab Completion in non-Windows systems #7606

@MaximoTrinidad

Description

@MaximoTrinidad

Removing PSReadLine doesn't impact the Tab-Completion in both Windows PowerShell and PowerShell Core.

But tab-completion stops working in non-Windows Systems!

Steps to reproduce

Remove the PSReadLine module and use the change directory command tab to complete folder name

Remove-Module -Name PSReadLine
cd Docu (press-tab)
Get-Mod(tab) -List(tab)

Expected behavior

To auto-complete the line.


Actual behavior

Doing Tab does nothing!


Environment data

WSL - Ubuntu

PS /home/maxt> $PSversiontable

Name                           Value
----                           -----
PSVersion                      6.1.0-preview.4
PSEdition                      Core
GitCommitId                    6.1.0-preview.4
OS                             Linux 4.4.0-17741-Microsoft #1000-Microsoft Tue Aug 14 14:30:00 PST 2018
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Ubuntu 17.04

PS /home/maxt> $PSversiontable

Name                           Value
----                           -----
PSVersion                      6.1.0-preview.4
PSEdition                      Core
GitCommitId                    6.1.0-preview.4
OS                             Linux 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

CentOS 7

PS /home/maxt> $PSversiontable

Name                           Value
----                           -----
PSVersion                      6.1.0-preview.4
PSEdition                      Core
GitCommitId                    6.1.0-preview.4
OS                             Linux 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions