Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cd tab completion with CDPATH #4459

Open
1 task done
Sayanel01 opened this issue Mar 14, 2024 · 0 comments
Open
1 task done

Cd tab completion with CDPATH #4459

Sayanel01 opened this issue Mar 14, 2024 · 0 comments
Labels

Comments

@Sayanel01
Copy link

Sayanel01 commented Mar 14, 2024

Description / Steps to reproduce the issue

Set your CDPATH variable to contain a path

$ mkdir /c/some/path/myfolder
$ CDPATH=.:/c/some/path
$ cd myf<TAB>

Expected behavior

With this CDPATH, cd myfolder is a valid command that sends you to /c/some/path/myfolder
When pressing TAB, you expect cd myf to autocomplete to cd myfolder

Actual behavior

No autocompletion happens.
Autocompletion works with directly accessible path, but not for path accessible with CDPATH.

Verification

Windows Version

MINGW64_NT-10.0-19045

Are you willing to submit a PR?

I'm not sure I know how to contribute. But I know latest bash-completion do support CDPATH (https://github.com/scop/bash-completion)

@Sayanel01 Sayanel01 added the bug label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant