my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.2 KiB

3 years ago
  1. # dnf plugin
  2. This plugin makes `dnf` usage easier by adding aliases for the most common commands.
  3. `dnf` is the new package manager for RPM-based distributions, which replaces `yum`.
  4. To use it, add `dnf` to the plugins array in your zshrc file:
  5. ```zsh
  6. plugins=(... dnf)
  7. ```
  8. ## Aliases
  9. | Alias | Command | Description |
  10. |-------|-------------------------|--------------------------|
  11. | dnfl | `dnf list` | List packages |
  12. | dnfli | `dnf list installed` | List installed packages |
  13. | dnfgl | `dnf grouplist` | List package groups |
  14. | dnfmc | `dnf makecache` | Generate metadata cache |
  15. | dnfp | `dnf info` | Show package information |
  16. | dnfs | `dnf search` | Search package |
  17. | **Use `sudo`** |
  18. | dnfu | `sudo dnf upgrade` | Upgrade package |
  19. | dnfi | `sudo dnf install` | Install package |
  20. | dnfgi | `sudo dnf groupinstall` | Install package group |
  21. | dnfr | `sudo dnf remove` | Remove package |
  22. | dnfgr | `sudo dnf groupremove` | Remove package group |
  23. | dnfc | `sudo dnf clean all` | Clean cache |