-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Unique path_prefix #514
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
Comments
Reminds of of #148, which was a similar idea for command words. |
Should |
I'd have voted for the latter, since that would maintain the distinction between a terminal separator and the characters before it, and those characters would be highlighted as ...but I don't highlight path separators differently to other characters in pathnames. Let's ask the authors of the pathseparators PR (#136 #260). |
Thanks for the ping. IIUC, I do agree with this. It'd feel weird to have the path separators suddenly change/remove highlighting when the prefix became unique, reminiscent of the flickering that (used to?) happen. |
Right, indeed the latter makes more sense. I'll open a PR after #512 since they'll conflict. |
I also agree with this. |
I think this is a great suggestion. How can this be implemented? |
There's a (edit: The optimization example probably needs to do |
There's also Finally, I wonder if perchance there already exists a zsh plugin that provides this functionality. |
Possibly add a new style
path_prefix_unique
when the path prefix only matches a single file for a hint to hit tab.The text was updated successfully, but these errors were encountered: