Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Fish-like autosuggestions



On Oct 29,  3:52pm, Thiago Padilha wrote:
}
} I'm sure there are many improvements to be made as I am not a zsh expert.

I have some concerns about the client/daemon model (for example what
prevents a malicious program from connecting to the daemon and sending
input that would cause the zpty shell to execute a command?) but I
haven't studied it very closely.

Since you're already doing "zle recursive-edit", you might want to look
into creating your own keymap instead of changing widget bindings in
the main keymap.  There are some examples and helper code for this in
Functions/Zle/keymap+widget in the distribution.



Messages sorted by: Reverse Date, Date, Thread, Author