Fix dnf plugin for Fedora users

In Fedora, all dnf commands require root.
This commit is contained in:
Austin Dunn 2016-06-26 23:24:34 -04:00 committed by GitHub
parent 7fabc8bca4
commit 82e946659a

View File

@ -1,11 +1,11 @@
## Aliases ## Aliases
alias dnfl="dnf list" # List packages alias dnfl="sudo dnf list" # List packages
alias dnfli="dnf list installed" # List installed packages alias dnfli="sudo dnf list installed" # List installed packages
alias dnfgl="dnf grouplist" # List package groups alias dnfgl="sudo dnf grouplist" # List package groups
alias dnfmc="dnf makecache" # Generate metadata cache alias dnfmc="sudo dnf makecache" # Generate metadata cache
alias dnfp="dnf info" # Show package information alias dnfp="sudo dnf info" # Show package information
alias dnfs="dnf search" # Search package alias dnfs="sudo dnf search" # Search package
alias dnfu="sudo dnf upgrade" # Upgrade package alias dnfu="sudo dnf upgrade" # Upgrade package
alias dnfi="sudo dnf install" # Install package alias dnfi="sudo dnf install" # Install package