Comments (6)
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.
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.
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.
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.
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.
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)
- Lots of ^Ms HOT 1
- Is this project dead? HOT 22
- ADOTDIR where is it used? HOT 1
- Doc in Quick start about antigen bundle is wrong
- Where does the Debian package put antigen.zsh? HOT 2
- Can you add this website? HOT 1
- can't write zwc file HOT 1
- use antigen to install plugins in an env that has no internet
- `antigen init` fails generating cache when path includes spaces HOT 2
- there is a typo error in wiki page HOT 3
- Any plugin or script using bashcompinit & complete to define completion won't work after sourcing antigen HOT 4
- [feature request] New command which automatically purges / disables not explicit listed plugins
- $ADOTDIR not working
- no such keymap menuselect HOT 2
- no such file or directory HOT 3
- oh-my-zsh tmux plugin does not work when using antigen
- ZSH theme not working in VSCode Dev container Integrated Terminal HOT 1
- Dead Links in 'In the wild' section of the wiki
- Cannot change directories without `cd`
- Issue with sourcing zshrc after antigen install : bad substitution HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antigen.