mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 05:04:22 +08:00
fix(dnf): use --installed to support dnf 4 and 5 (#13772)
This commit is contained in:
1 parent
87a9b16b72
commit
fe11a3ae23
2 files changed
+2
-2
No files matched your search
@@ -5,7 +5,7 @@ local dnfprog="dnf"
|
||||
command -v dnf5 > /dev/null && dnfprog=dnf5
|
||||
|
||||
alias dnfl="${dnfprog} list" # List packages
|
||||
alias dnfli="${dnfprog} list installed" # List installed packages
|
||||
alias dnfli="${dnfprog} list --installed" # List installed packages
|
||||
alias dnfmc="${dnfprog} makecache" # Generate metadata cache
|
||||
alias dnfp="${dnfprog} info" # Show package information
|
||||
alias dnfs="${dnfprog} search" # Search package
|
||||
|
||||
Reference in new issue
Block a user