curusarn / resh

RESH ❯❯ Contextual shell history for zsh and bash
MIT License
1.01k stars 19 forks source link

Resh overrides behaviour of zsh-autosuggestions #199

Open dawidnawrot opened 9 months ago

dawidnawrot commented 9 months ago

So, there's this very popular zsh-autosuggestions plugin for zsh. Once this plugin is enabled and you start typing it suggest previously used commands by showing rest of the command as grayed out and you can use right arrow to autocomplete it. But also you can go through previous commands which starts with the part of command you provided by moving arrow up and down and this feature is not accessible anymore after installing and enabling at least once resh with CTRL+R:

Without resh (move arrows up and down, you get latest commands that starts with ls): Screencast from 09 02 2024 08_25_40

With resh (move arrows up and down, you get just latest commands): Screencast from 09 02 2024 08_33_02

I'd love to use resh, but also I'd like to keep fully working autocomplete plugin. Is there any configuration I can adjust to make it work together?

curusarn commented 7 months ago

Hi @dawidnawrot,

Sorry for the delay here.

Resh used to bind arrow up/down keys but it doesn't anymore.

Could you share what Resh version are you running? Run reshctl version to check versions. You should see output like this if you have the latest version:

❯ reshctl version
Installed: 3.0.2
This terminal session: 3.0.2
Currently running daemon: 3.0.2