From 846f6c5d88f647907c47f939432729593e844ee3 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 18 Oct 2020 12:35:30 +0200 Subject: update --- bin/apac | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/apac (limited to 'bin/apac') diff --git a/bin/apac b/bin/apac new file mode 100755 index 0000000..ed51734 --- /dev/null +++ b/bin/apac @@ -0,0 +1,9 @@ +#!/bin/sh +# pacman + fzf +#pacman -Slq | fzf --no-clear --multi --preview 'cat <(pacman -Si {1}) <(pacman -Fl {1} | awk "{print \$2}")' | xargs -ro sudo pacman -S +yay -Slqa | +fzf --no-clear --multi \ + --bind=left:preview-page-up --bind=right:preview-page-down \ + --preview-window=right:66% \ + --preview 'yay -Qil {1} 2>/dev/null && echo && pactree {1} || yay -Si {1}' | +xargs yay -S -- cgit v1.2.3