Comments (9)
@marlonrichert Works perfectly, thanks!
from zsh-autocomplete.
Stepping through the commits and trying them all out it looks to have happened in this commit: 9d0e92e
from zsh-autocomplete.
Thanks, I’ll have to see if I can reproduce that.
from zsh-autocomplete.
This seems to happen when you don't have Fzf installed, which causes zsh-autocomplete
to fall back to the history-search-backward
widget. And for some reason, this crashes Zsh. I've experienced similar crashes when trying to use the _history
completer. Not sure why or how to work around it. I'll have to investigate some more.
from zsh-autocomplete.
Have fzf installed and in PATH but it happens for me as well, if I comment a line which binds an up arrow in this plugin then it works ok.
from zsh-autocomplete.
@andreypopp Are you sourcing Fzf's keybindings? Without them, the code falls back to using history-search-backward
. Simply having Fzf in your path is not enough.
from zsh-autocomplete.
@marlonrichert no, I'm not. Still a bit confusing why it closes the shell on "Up" in that case.
from zsh-autocomplete.
OK, you should source Fzf's keybindings if you want zsh-autocomplete
to use Fzf for history search. 🙂
As to why calling any of Zsh's history widgets inside another widget closes the shell, I have no idea. It only works if you call them right away, but if you do anything before that, the shell crashes.
from zsh-autocomplete.
@DanDobrick @andreypopp I pushed in a fix. Please git pull
and let me know if it works for you. 🙂
from zsh-autocomplete.
Related Issues (20)
- Can we support command line completion before history completion? HOT 1
- Inserting from history in Vim normal mode removes the last character HOT 2
- Down arrow key doesn't work with bindkey -v
- Color of Suggestions HOT 2
- `*.tar.zst` is not considered for `tar -xvf`
- Feature Request: Flag or option to disable variable preview added in Issue #161
- Hidden text HOT 2
- On Debian LXC Containers The first characters entered are displayed twice HOT 4
- Is there a way to disable the up-arrow search history? HOT 10
- Cursor Blinking to New Line on Suggestions HOT 2
- Up and down arrow key not working HOT 1
- Print widget above the prompt
- Unexpected full completion on TAB
- Incompatibility with zoxide z <space><tab> shortcut HOT 5
- Print current option help
- Conflict between zoxide, zsh-autocomplete, and fzf results in erroneous behavior HOT 1
- Bug with zsh-syntax-highlighting: unhandled ZLE widget HOT 3
- Available completions not shown for commands with slow `compdef` functions
- Enable suggestion scrolling without setting a hard limit HOT 1
- Autocomplete do not work on my zsh terminal 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 zsh-autocomplete.