mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Add README to dnf plugin
This commit is contained in:
parent
c0b12523fe
commit
624518054b
1 changed files with 25 additions and 0 deletions
25
plugins/dnf/README.md
Executable file
25
plugins/dnf/README.md
Executable file
|
@ -0,0 +1,25 @@
|
||||||
|
## Description
|
||||||
|
|
||||||
|
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`.
|
||||||
|
|
||||||
|
## 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 |
|
Loading…
Reference in a new issue