How To Install zsh-autosuggestions on Fedora 36

In this tutorial we learn how to install zsh-autosuggestions in Fedora 36. zsh-autosuggestions is Fish-like autosuggestions for zsh

Introduction

In this tutorial we learn how to install zsh-autosuggestions on Fedora 36.

What is zsh-autosuggestions

This package provides autosuggestions for the shell zsh. It suggests commands as you type based on history and completions.

We can use yum or dnf to install zsh-autosuggestions on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install zsh-autosuggestions.

Install zsh-autosuggestions on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install zsh-autosuggestions using dnf by running the following command:

sudo dnf -y install zsh-autosuggestions

Install zsh-autosuggestions on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install zsh-autosuggestions using yum by running the following command:

sudo yum -y install zsh-autosuggestions

How To Uninstall zsh-autosuggestions on Fedora 36

To uninstall only the zsh-autosuggestions package we can use the following command:

sudo dnf remove zsh-autosuggestions

zsh-autosuggestions Package Contents on Fedora 36

/usr/share/doc/zsh-autosuggestions
/usr/share/doc/zsh-autosuggestions/CHANGELOG.md
/usr/share/doc/zsh-autosuggestions/README.md
/usr/share/licenses/zsh-autosuggestions
/usr/share/licenses/zsh-autosuggestions/LICENSE
/usr/share/zsh-autosuggestions
/usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh

References

Summary

In this tutorial we learn how to install zsh-autosuggestions on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).