Skip to content

Feature Request: Support appendWindowsPath=false in wsl.confΒ #749

@enndubyu

Description

@enndubyu

Tab completion with appendWindowsPath=true is a nightmare on my system. Not only does it complete random .dlls in the system32 folder (which I would imagine is frustrating for all users), but I also have coreutils installed with scoop in windows which installs multiple shims for every binary in coreutils, so tab completion is always full of irrelevant junk like this:
Screenshot 2022-08-23 180541

It would be nice to be able to set appendWindowsPath=false in my wsl.conf without breaking stuff like the cmd-exe script in /usr/local/bin and the start x410 init.d script. For me, I'd much rather manually add the few windows locations that I want in my $PATH. I've been able to get my system working fine by hardcoding the paths to the windows exe's in the aformetioned scripts and elsewhere on the system, but it would be nice for this to just work so I wouldn't have to worry about changes getting wiped out by updates or stuff that I've missed causing problems.

Not sure how much effort would be involved with something like this, but would be nice to have this option since being able to disable appendWindowsPath makes the system much nicer to use in my case (and I imagine many others).

Metadata

Metadata

Assignees

No one assigned

    Labels

    WorkaroundWe have a workaround for this issue.

    Type

    No type

    Projects

    Status

    πŸ“‹ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions