Git Product home page Git Product logo

Comments (6)

matschaffer avatar matschaffer commented on May 22, 2024

Ah... looks like the apply lets things like git completions work, but breaks local file completions. At least for commands I don't have plugins for (e.g., dpkg).

Is there a way to get it to default to local file paths?

from antigen.

sharat87 avatar sharat87 commented on May 22, 2024

That's odd. Things like the ls and file commands do have local file paths completion at my end. Could you test to find if its a particular plugin that's causing this? Also, is this issue present when you were not using antigen?

from antigen.

matschaffer avatar matschaffer commented on May 22, 2024

ls works. It's stuff that's a little outside normal (like dpkg that I mentioned, I'm on an OS X host using dpkg to examine build results). Here's what happens if I have a blank zshrc and start adding antigen components manually:

localhost% dpkg workspace/                        # tab completed
localhost% source "$HOME/.antigen/antigen/antigen.zsh"
localhost% dpkg workspace/                        # tab completed
localhost% antigen apply
localhost% dpkg wo                        # won't tab complete

from antigen.

matschaffer avatar matschaffer commented on May 22, 2024

Btw, I think I found what's causing this. I don't think it's antigen but rather what zsh does once antigen makes everything context aware. This post has details on how to set up an alternate key press for file based completion regardless of command context.

from antigen.

clinta avatar clinta commented on May 22, 2024

I want to reopen this because I'm seeing the same thing, but it's affecting ls and cd commands for me. I'm running antigen on zsh 5.0.6 on cygwin.

localhost% ls dotfiles                                       #Tab complete works
localhost% source antigen/antigen.zsh
localhost% ls dotfiles                                      #Tab complete still works
localhost% antigen apply
localhost% ls dot                                            #Tab complete doesn't work anymore

This is without any plugins loaded at all, just running apply breaks tab completion.

from antigen.

clinta avatar clinta commented on May 22, 2024

Nevermind, this was a cygwin issue, solved by doing this:

http://blog.en.edaro.net/2014/01/fix-broken-autocompletion-with-zsh-in.html

from antigen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.