From 7900380239c6272b3bed4a16045c76bb8359a6ac Mon Sep 17 00:00:00 2001 From: LuFan Zhong Date: Tue, 10 Mar 2020 19:29:43 +0800 Subject: [PATCH] archlinux: fix wrong parameters in pacfiles alias (#8712) --- plugins/archlinux/README.md | 2 +- plugins/archlinux/archlinux.plugin.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/archlinux/README.md b/plugins/archlinux/README.md index ff2b6a4c4..9cbfe3742 100644 --- a/plugins/archlinux/README.md +++ b/plugins/archlinux/README.md @@ -119,7 +119,7 @@ | pacupg | sudo pacman -Syu | Sync with repositories before upgrading packages | | upgrade | sudo pacman -Syu | Sync with repositories before upgrading packages | | pacfileupg | sudo pacman -Fy | Download fresh package databases from the server | -| pacfiles | pacman -Fs | Search package file names for matching strings | +| pacfiles | pacman -F | Search package file names for matching strings | | pacls | pacman -Ql | List files in a package | | pacown | pacman -Qo | Show which package owns a file | diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh index e0101c7eb..6ccef85c5 100644 --- a/plugins/archlinux/archlinux.plugin.zsh +++ b/plugins/archlinux/archlinux.plugin.zsh @@ -149,7 +149,7 @@ alias pacmir='sudo pacman -Syy' alias paclsorphans='sudo pacman -Qdt' alias pacrmorphans='sudo pacman -Rs $(pacman -Qtdq)' alias pacfileupg='sudo pacman -Fy' -alias pacfiles='pacman -Fs' +alias pacfiles='pacman -F' alias pacls='pacman -Ql' alias pacown='pacman -Qo'