summaryrefslogtreecommitdiff
path: root/bin/apac
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-10-18 12:35:30 +0200
committerMarc Vertes <mvertes@free.fr>2020-10-18 12:35:30 +0200
commit846f6c5d88f647907c47f939432729593e844ee3 (patch)
tree4a05649ded4b256dc29b60a7922a0c0ad469afd1 /bin/apac
parent42f34848a96bf0f63acde79ebe79b073847c3cd9 (diff)
update
Diffstat (limited to 'bin/apac')
-rwxr-xr-xbin/apac9
1 files changed, 9 insertions, 0 deletions
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