Repository navigation
feat: add fish-like inline auto suggestion - #1003
Conversation
60d2ea4 to
79afc1e
Compare
1eef855 to
1997444
Compare
1997444 to
a001f4e
Compare
|
Should i keep |
|
I like this idea too. I've cleaned up the code and fixed some bugs. Namely, we should only run this when the cursor is at the end. I've added the idea of "promoting" the background tab completion result instead of rerunning tab completions when we press tab. I want to keep mutual exclusivity of inline history suggestions, inline auto suggestion, popup auto suggestions. |
|
Let me know what you think of the changes / altered behaviour! |
|
Good ideas.. Im testing it right now and I found some bugs, one of them is aliased command related, am looking into it :) Edit: Nevermind it is caused by another bash script that i sourced for bash completion... |
|
Found a bug where How to reproduce:
expected behavior is that the space gets erased, what actually happens is the space did get erased but was immediately replaced as if backspace was never done |
Testing this right now :) Edit: Seems to have fixed it, this should fix the leak and prevent tab completion from running a second time if we hit backspace |
9decd3c to
b675dac
Compare
|
i saw that in commit 8b6f6e4 you reverted this was it because of the |
Ah sorry, that was not meant to be changed. your solution was good |
b675dac to
ab11c1f
Compare
|
Sweet |
This pr cleans up the code from #1003
Closes #1002
Quick demo:
Video_2026-09-17_00-20-49.mp4
This pr:
show_inline_historywithauto_suggest_inlineauto_suggest_inlineis enabled by defaultauto-suggestbut still get inline suggestion as long asauto-suggest-inlineisnt disabledbash-completion( requiresbash-completionto be installed )git asuggestsddeven without historyTldr:
Adds fish-like suggestion