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
Git autocompletion #4100
Comments
Git autocompletion seems to be working okay for me, on OS X and Cygwin. What isn't working for you? Can you be more specific? What OS and terminal are you using? |
I'm also seeing the following error with a theme that uses
I also tried using some of the aliases defined in the plugin but they don't work. Those for another plugin I use (npm) do work. I'm on OSX 10.10. |
Hmm. That's not good. Which theme is it that's using The Are you seeing any other errors or messages during your I pulled up 10.10.3 just now, with the latest OMZ update. Both Could each of you post the output of |
My plugins list is:
There's an issue to move |
Yeah, check out who the author on that #4085 is. ;) But you shouldn't need that: if Did you copy and paste your
That will not work. In (IMHO that's probably a flaw in OMZ, and it should warn when it gets a request for a plugin that it doesn't recognize.) The correct syntax for that plugins list is this.
|
That worked! But to my knowledge I haven't altered my plugins list since I installed months ago, and that error message only appeared after a recent upgrade. So I'm not sure what's going on there. But thanks anyway - back up and running now. |
You're welcome! Is it possible that that your Upshot of this is that if you have custom code, you need to check how it interacts with your plugins. (See #4072 for how it affected some other users.) |
Hi, I'm not sure if this is the same issue, but since a few weeks the autocompletion in my shell stopped working too. I'm on archlinux, unsing ohmyzsh up to date. If I use Any idea on how I could solve it ? Same as for @alastaircoote it stopped working without me doing anything specific except update ohmyzsh. Thanks |
Could be. Check your |
Hi, |
Okay. I'm not sure what's causing this, but there are a couple issues there. First, let's see if it's the alias itself or just the completion that's broken. What's your output for
Your
I don't think the second You have a literal |
For some reason I've only now been notified of all these comments, sorry for the late reply. The problem seems to have been fixed as of two weeks ago, I'm not entirely sure what caused it, but after updating then, the tab autocompletion for git started working again. Initially, writing git add and pressing tab refused to suggest any files. Autocompletion worked fine in general, git was the only one having problems. As for the plugins comma bug, I too had commas separating my plugins, but everything still worked before the time when I posted this. To answer the initial question @apjanke, I'm using OS X Yosemite on the latest version and the default Terminal. Here's the link to the gist dump, however, it might not be very useful: |
Hmm. Might have been some of the work that was done on the If it's working now, want to just close this out, and reopen if it happens again? I don't see anything wrong completion-wise in the diagnostic dump, so I don't know that there's anything else we can do here. Unrelated to git completionA couple unrelated things: You're doing a full reset of
That's usually not ideal, because the system You might want to set
I dig the |
This is what the command gives me, and |
Ah, that was it. From the zsh reference manual:
I didn't know about this one. Good thing to look for in the future. I bet I know why it broke for you: PR #2790 removed a bunch of explicit |
Please close the issue if everybody's ok now. |
Ever since the last update, git autocompletion stopped working on tab.
It still works on other shells, but not on zsh. Since it's one of the features that I and I'm sure many others use constantly, it would be worth looking into, as it makes adding a large number of files painful.
The text was updated successfully, but these errors were encountered: