Skip to content

Navigating in powershell with powershell extension post docker build causes issue #4455

@GamingViking

Description

@GamingViking

Following a prompt from my CLI to post here.

I use an extension with my powershell that gives additional functionality when it comes to directory navigation. For instance, I can type "cd" and then press tab to cycle through a directory's contents before selecting the one I want with enter (rather than having to first use "ls" and then "cd subdirectoryname").

After having built a docker container in the CLI, when I try to navigate with "cd" followed by tab, I get an error message, the full contents of which I have pasted below.

This issue persists to other tabs inside of the same powershell, but not across different powershell windows. Additionally, I found that manually typing "cd subdirectoryname" into another tab fixed the issue, allowing for the extension's method of navigation to work again, but only in that tab. Opening up a new tab in the same powershell window or trying to use the extension navigation in the original tab in which the error occurred will not work.

Full error message contents below:

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 156 Keys:
c d Space Tab Backspace Backspace Space . . Enter
c d Space Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Shift+Tab Enter
Enter
c d Space Tab Backspace Backspace Backspace Backspace Backspace g i t Space c l o n e Space h t t p s : / / g i t h u b . c o m / d o c k e r / w e l c o m e - t o - d o c k e r Enter
c d Space Tab Shift+Tab Enter
Enter
c o d e Space . Enter
Enter
d o c k e r Space b u i l d Space - t Space w e l c o m e - t o - c Backspace d o c k e r Space . Enter
c d Space . . Enter
UpArrow Enter
c d Space Tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions