added pacman scripts

This commit is contained in:
2020-06-17 21:33:58 +02:00
parent 929e2d330b
commit bc4be96cb1
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
PKG=$(pacman -Slq | fzf --preview 'pacman -Si {1}')
if [ -n "$PKG" ]; then
sudo pacman -S "$PKG"
fi