dotfiles-remastered/.local/share/scripts/pacman-install.sh

7 lines
120 B
Bash
Raw Normal View History

2020-06-17 19:33:58 +00:00
#!/usr/bin/env sh
PKG=$(pacman -Slq | fzf --preview 'pacman -Si {1}')
if [ -n "$PKG" ]; then
sudo pacman -S "$PKG"
fi