psreadline module kills tab-completion in pssessions

Welcome Forums General PowerShell Q&A psreadline module kills tab-completion in pssessions

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
4 years, 6 months ago.

  • Author
    Posts
  • #14889

    Participant
    Points: 0
    Rank: Member

    I used to have the psreadline module import automatically in my psprofile. However, when connected to a pssession, cmdlets will not tab-complete. I would have to type the entire cmdlet. Tab-completion still works when not connected to a pssession. I have since taken the psreadline out of my imported modules, but there are some things I really like about it and would like to use it. Has anyone experienced this issue and discovered a fix?

  • #14916

    Keymaster
    Points: 1,619
    Helping HandTeam Member
    Rank: Community Hero

    Experienced, yes; fixed, no. I tend to not use Enter-PSSession, much, though. I tend to build commands or scripts and send them using Invoke-Command, so this doesn't really impact me.

  • #15210

    Participant
    Points: 0
    Rank: Member

    Feel free to report issues like this on github – I stand a better chance of seeing them that way.

    This issue was actually reported on github: https://github.com/lzybkr/PSReadLine/issues/99

    It should be fixed in the latest build.

The topic ‘psreadline module kills tab-completion in pssessions’ is closed to new replies.