diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2023-08-17 10:29:48 +0200 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2023-08-17 10:29:48 +0200 |
commit | 2647e1c1ddcd10faab4f71a81d0f78cb96600516 (patch) | |
tree | f9525431cc58323111f1c4050f5a36f8e907c1d5 | |
parent | 2eb9a6f33820ca02cef1b8993c64f744cfe7d3b3 (diff) |
Add pacman file searching
-rw-r--r-- | pacman.md | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -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 <file> + +List files contained in `package`: + + pacman -Fl <package> |