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
Loading custom completions after a28dbc8? #4048
Comments
You should convert those files that need completion to custom plugins, and then add them to your |
That's not really a viable solution as the files are typically from 3rd-party libraries. Editing them would break updating. Is it possible to write a plugin that would source the files instead? |
@deanishe you need not edit the files to convert them as plugins; simply
|
I'm afraid that won't work as I have different files on different systems, so there'd be dangling symlinks all over the place. I need to test if the files exist first. Can I add a script at, say |
I'm having issues where the git plugin is overwriting aliases I've set in my |
Same issue is hitting me with the vi-mode plugin now overriding custom keybindings set in my custom/keybindings.zsh file (C-A and C-R et al). So the way forward is converting most (all?) your custom .zsh files to plugins and adding them in correct order to the plugins array? Did I get that right? |
I was under the impression that adding one there would overwrite the whole plugin. my git aliases are significantly smaller in number to the plugin. so i'd only want to overwrite a few. but perhaps that's the wrong way of thinking about it |
@scott-joe-williams The way I am looking at it right now is that I'd do a custom my-keybindings plugin and put it sort of last in my plugins array. That would (should) override the aliases set by former plugins. But then again, I could be totally wrong. |
Yeah. I guess they could be considered a plugin. Thanks @azmd |
Sure, gladly. I'll try to find some time later in the week. |
Fixed in #4230 |
Since a28dbc8 (which moves custom *.zsh file sourcing before plugins), I'm getting loads of
command not found: compdef
errors from my custom completions file (includingcompletion.zsh.inc
from the Google Cloud SDK).Any idea how I go about fixing this?
The text was updated successfully, but these errors were encountered: