-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
Want to switch to default Tab behaviour while using cd. #10
Comments
Can you please describe, step by step, what you are doing and what you expect? I don't understand what you mean. |
Just like the default behavior.
|
Thanks, I understand it now. I don’t have an answer to that yet. I’ll look into it. |
First, please Then, to get back the old skool complete behavior, add the following to your zle -N complete-word
complete-word() {
zle .complete-word
} |
@marlonrichert You should introduce an environment variable to configure behaviors. Also, the tab completion still doesn't work as I described. Did you ever test it? Even after the "roll back" overriding of |
@wookayin Sorry to hear it’s not working for you. 😕 Yes, I tested it and it worked for me exactly as you described. What do you mean with “ it is inserting completions just twice“? Can you give me an exact test case for this where this happens? Do you have a concrete proposal for what kind of environment variables you think should be introduced and how they shoul work? If you can write a pull request for it, even better. 🙂 |
After using my suggested solution above, I can tab around infinitely, not just twice. I'm going to close this issue now. If you can provide me with a test case that let's me reproduce it, then I will reopen the issue. |
@TanishBansal @wookayin |
hey @marlonrichert, I see you added support for |
Sorry, I somehow managed to commit the new code commented out. 🤦🏽♂️ I now pushed it in again, but not commented out this time. Please update and try again. |
Thanks @marlonrichert, I have made quite a lot of changes from19bc2c which fulfills my current need plenty. Thanks for your awesome work.! |
How do I switch to default Tab behaviour while using cd i.e. togge between the options rather than insert all the options
The text was updated successfully, but these errors were encountered: