-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
native cd completion #172
Comments
Sorry for the late reply. Thank you. I did I think it's almost what you want. What do you want on that action? (maybe I still may not be able to understand what you said.) |
@b4b4r07 Thanks for the update. On my side, it's still not working :-( You can see the replay here: https://asciinema.org/a/FqTrA8MqMxBTInBrAe2vmBCr7 notes:
Any idea of what I can provide or dig to help debugging? |
Oh thank you for sharing the details! I'll work on this to fix. I'm thinking to remove all completion feature from enhancd at all now... because:
Anyway I'll work on this in this weekend |
Thanks :-) By the way, what were the completion features specific to enhancd and not available in native cd completion? |
Can you try this branch? #191
Almost same as https://github.com/changyuheng/zsh-interactive-cd 's one! But I'm now thinking it's better to use this plugin, not enhancd's completion feature. |
Hey @b4b4r07, what a fast update! On my side, I dug a bit, and I found the issue is not directly related to enhancd built-in completion (thus the branch without completion had the same behaviour). On the other side, I have no idea why For completeness and for people findig this issue, I found 2 workarounds:
edit: the problem came indeed from the fact that |
Nice, thank you for the survey!
Ah,.. I see. Nice catch, so super thanks. Thus it means we don't need to merge that PR, right..? Hmm. But actually I have already no much enough motivation to keep this completion feature now lol. So I'm thinking to merge that PR anyway. On the other hands, we may need to think how we should solve this problem on enhancd. |
right
I get it, and as said previously, on my side, I do not expect this kind of completion from enhancd, so I won't really persuade you to keep this feature!
Which problem are you talking about? I cannot anymore see a problem: on the branch with completion, we need to load it after the call of compinit (this is a user issue…), and on the branch without completion, either defining |
I've merged that PR. Thank you!
Thank you for the summary. What I wanted to say is that I might be better to mention about it in README or something. But this issue is helpful for those who's facing the same issue even if no annotations so I'll guide them to this issue at that time. Anyway thank you for raising issue and investigating why this happens! |
Question
is there a way to keep
\cd
native completion for<tab>
?Considerations
I have the feeling that I used to do
cd D<tab>
and to have native completion like with\cd D<tab>
But now (I don't know when things changed),
cd D<tab>
brings nothingNote: I don't want
ENHANCD_COMPLETION_BEHAVIOR
, I want to have enhanced triggered only when I docd<enter>
The text was updated successfully, but these errors were encountered: