zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.54k stars 1.87k forks source link

zsh-autosuggestions does not work on my ubuntu 20.10 #575

Open hustwyk opened 3 years ago

hustwyk commented 3 years ago

Describe the bug

I've tried two different ways to install zsh-autosuggestions (Oh My Zsh and Mannual), and I've restarted both my terminal and system, however it does not work at all. (P.S. There is no any errors or warnnings during my installation)

To Reproduce

Steps to reproduce the behavior:

Step1: Setup a new Ubuntu 20.10 system
Step2: Install zsh and oh-my-zsh
Step3: Install zsh-autosuggestions plugin
Step4: Restart terminal and system

Expected behavior

The zsh-autosuggestions plugin should work and show me input suggestion.

Screenshots

Desktop

Additional context

codeswhite commented 3 years ago

You need to source zsh-autosuggestions from your .zshrc like this:

# ... snip ...

source /path/to/your/zsh-autosuggestions.zsh

# ... snip ...
tmb-piXel commented 3 years ago

Each time you start the terminal, you can enter "source ~ /.zshrc" and after that the plugin starts working. I have the same problem.

tmb-piXel commented 3 years ago

This work for me - https://github.com/zsh-users/zsh-autosuggestions/issues/182#issuecomment-235986679