-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Autocompletion does not work for git aliases #210
Comments
Yeah, I don't know of a way to carry autocompletion through aliases. Would be dope tho. |
Well, I feel better at least! Here's hoping someone out there in the ether has solved this. |
As far as I can tell, it looks like I don't know enough about [1] With one minor quirk -- the first time I |
@shipstar You can have autocompletion if you use git aliases instead of normal aliases. The drawback I see is that you will have to manually type |
fixed editorconfig for go code
I've never been able to get autocompletion working for git aliases I've created. My shell-fu is very weak, but I've spent several days debugging this over the course of months to no avail. Hopefully I'm just doing something stupid.
For comparison, here's what
git branch <tab>
looks like:and here's
gb <tab>
(mygit branch
alias):I added a couple debug messages to the completion script, and it looks like the test for file existence is failing. The following prints "Here," but never "There":
If I
cd
into that directory andls -l
, I see the following:(And the files do exist on the other side of the symlink.)
I reinstalled
git
andhub
this morning, figured out that ZSH was pointing to the Mac-default instead of my Homebrew-installed version, and tried every little bit of cleanup I could think of, but still no luck.Here's my fork of the repo. I've made a few small tweaks (mostly removing things), so it's possible I removed something important.
Any ideas?
The text was updated successfully, but these errors were encountered: