From 2647e1c1ddcd10faab4f71a81d0f78cb96600516 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Thu, 17 Aug 2023 10:29:48 +0200 Subject: Add pacman file searching --- pacman.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pacman.md b/pacman.md index e6d8cd0..133adfd 100644 --- a/pacman.md +++ b/pacman.md @@ -41,6 +41,22 @@ there and remove the .pacnew suffix) By itself, outputs all installed packages. -## Browsing installed packages with `fzf` +### Browsing installed packages with `fzf` pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)' + +## Files (-F) + +Query the files database. + +Download/update database: + + pacman -Fy + +Lists packages that contain `file`: + + pacman -F + +List files contained in `package`: + + pacman -Fl -- cgit v1.2.3