oh-my-zsh/plugins/dnf/dnf.plugin.zsh
Austin Dunn 82e946659a Fix dnf plugin for Fedora users
In Fedora, all dnf commands require root.
2016-06-26 23:24:34 -04:00

16 lines
789 B
Bash

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