You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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.
Description / Steps to reproduce the issue
Set your CDPATH variable to contain a path
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 tocd 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)
The text was updated successfully, but these errors were encountered: