Skip to content

WSL2 support #134

Closed
Closed
@wisewtf

Description

@wisewtf

Hello,

I know Windows is not supported yet. But I tried to make it work on WSL2 nonetheless.

I'm stuck on this issue:

> the-way cp 2
openssl x509 -noout -text -in
Error: Can't open display: (null)
Snippet #2 copied to clipboard

This happens every time the-way tries to copy stuff to the SYSTEM clipboard. I'm assuming it's because wsl2 cannot do it natively. WSL2 can use Windows binaries tho, as specified here

I am unsure why it tries to use a display. I hope anyone can shed some light about this.

search seems to work properly. Altough with the cmdsave function, I get the same issue after I use search.

❯ the-way search
find <path> -name <file>
✔ path · .
✔ file · '*.a'
Error: Can't open display: (null)
Snippet #1 copied to clipboard

Please let me know if you need further testing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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