jirutka / alpine-zsh-config

A sensible system-wide Zsh configuration for Alpine Linux
MIT License
14 stars 1 forks source link

FR: Supporting suggestion like Manjaro #3

Closed HubKing closed 5 months ago

HubKing commented 5 months ago

Majaro enables suggestion (basically, showing a matching entry in history as a pale background text) like below by default. On Arch, I installed https://github.com/wszqkzqk/easy-zsh-config and it enabled it by default. I would like to have this feature, but after installing alpine-zsh-config and zsh-autosuggestions, it doesn't work, and I don't know how to make it work.

It would be nice if alpine-zsh-config enabled suggestion by default, or at least when the zsh-autosuggestions package is installed.

image

jirutka commented 5 months ago

but after installing alpine-zsh-config and zsh-autosuggestions, it doesn't work, and I don't know how to make it work.

It’s supposed to work exactly like this. If it doesn’t, then you probably have some problematic configuration that breaks autosuggestions or the plugin loading (maybe Oh My Zsh?).

Try it on a clean system, just apk add zsh alpine-zsh-config zsh-autosuggestions, then run zsh, and autosuggestions should work.