-
Notifications
You must be signed in to change notification settings - Fork 2
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 completion, add candidates from directories in $CDPATH #20
Comments
Thank you for the suggestion! What's the default bash behavior in this regard? Does it offer path completion for directories in $CDPATH (without _bcpp)? Quick test on bash 4.4 (what I have at hand) shows that default bash completion returns only filenames in $PWD, not in other $CDPATH elements. Bash documentation also mentions that $CDPATH completion requires custom handling. Would you be willing to implement this feature? |
That was a bit strange, I can't remember having this issue before switching to the awesome bccp :)
|
Could you add the output of |
It seems that you are right
|
Thanks for confirming. Currently bcpp hacks into
If you start working on this, do not hesitate to ask me any questions. I will be glad to help. Existing functionality is pretty thoroughly covered by the test suite, so don't be afraid to introduce regressions - automation should alert you about them. Run test suite locally with |
I use
$CDPATH
to quicklycd
orpushd
to some interesting directories. However, the completion I get from_bcpp --dirs
only considers directories in$PWD
as candidates for completion. I'd love it if I also got candidates from other directories specified in$CDPATH
as well.The text was updated successfully, but these errors were encountered: