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

zsh-autosuggestions does not work on my ubuntu 20.10

Open hustwyk opened this issue 4 years ago • 3 comments

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

  • OS + distribution: Ubuntu 20.10
  • Zsh version: 5.8
  • Plugin version: v0.6.4

Additional context

hustwyk avatar Nov 27 '20 08:11 hustwyk

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

# ... snip ...

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

# ... snip ...

codeswhite avatar Dec 17 '20 14:12 codeswhite

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

  • Ubuntu 20.04
  • Zsh version 5.8
  • Plugin version: v0.6.4

tmb-piXel avatar May 03 '21 10:05 tmb-piXel

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

tmb-piXel avatar May 03 '21 10:05 tmb-piXel