zsh-autosuggestions icon indicating copy to clipboard operation
zsh-autosuggestions copied to clipboard

Option for less specific suggestions

Open oiiiiiiii opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Suggestions are too specific sometimes.

Describe the solution you'd like

I would like an option, that doesn't suggest as much. So for example when I often run commands like git checkout -b 'branch-x' git checkout -b 'different-branch-y' git checkout -b 'another-one-z' I would prefer the suggestion git checkout -b ' instead of git checkout -b 'another-one-z'. I think it would be good to have a completion strategy that searches for similarities among commands that have been executed that match everything that has been entered into the terminal so far. Because otherwise the suggestion is not as usefule, when I have to delete parts again. I think it would be better if the rest is only inserted after a second tab.

oiiiiiiii avatar Sep 09 '22 10:09 oiiiiiiii