1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 19:32:54 +08:00
ohmyzsh/plugins/dnf
Marc Cornellà 610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
..
dnf.plugin.zsh Fix deprecated dnf commands 2016-02-11 21:38:10 +01:00
README.md Clean up plugin READMEs and a few plugins 2020-03-11 19:57:46 +01:00

dnf plugin

This plugin makes dnf usage easier by adding aliases for the most common commands.

dnf is the new package manager for RPM-based distributions, which replaces yum.

To use it, add dnf to the plugins array in your zshrc file:

plugins=(... dnf)

Aliases

Alias Command Description
dnfl dnf list List packages
dnfli dnf list installed List installed packages
dnfgl dnf grouplist List package groups
dnfmc dnf makecache Generate metadata cache
dnfp dnf info Show package information
dnfs dnf search Search package
Use sudo
dnfu sudo dnf upgrade Upgrade package
dnfi sudo dnf install Install package
dnfgi sudo dnf groupinstall Install package group
dnfr sudo dnf remove Remove package
dnfgr sudo dnf groupremove Remove package group
dnfc sudo dnf clean all Clean cache