mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Just copied the yum plugin, and replaced yum with dnf
This might be useful for fedora users
This commit is contained in:
parent
7f9b773350
commit
08beadf7e9
1 changed files with 16 additions and 0 deletions
16
plugins/rpm/rpm.plugin.zsh
Normal file
16
plugins/rpm/rpm.plugin.zsh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
## Aliases
|
||||
|
||||
alias rs="dnf search" # search package
|
||||
alias rp="dnf info" # show package info
|
||||
alias rl="dnf list" # list packages
|
||||
alias rgl="dnf grouplist" # list package groups
|
||||
alias rli="dnf list installed" # print all installed packages
|
||||
alias rmc="dnf makecache" # rebuilds the yum package list
|
||||
|
||||
alias ru="sudo dnf update" # upgrate packages
|
||||
alias ri="sudo dnf install" # install package
|
||||
alias rgi="sudo dnf groupinstall" # install package group
|
||||
alias rr="sudo dnf remove" # remove package
|
||||
alias rgr="sudo dnf groupremove" # remove pagage group
|
||||
alias rrl="sudo dnf remove --remove-leaves" # remove package and leaves
|
||||
alias rc="sudo dnf clean all" # clean cache
|
||||
Loading…
Add table
Add a link
Reference in a new issue