Add 'pac' and 'aur' scripts for find packages
This commit is contained in:
parent
a229ec204c
commit
0f0e8e4f1e
3
.local/bin/scripts/aur
Executable file
3
.local/bin/scripts/aur
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
yay -Slq | fzf -m --preview 'yay -Si {1}' | yay -S -
|
6
.local/bin/scripts/pac
Executable file
6
.local/bin/scripts/pac
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
package="$(pacman -Slq | fzf -m --preview 'pacman -Si {1}')"
|
||||
[ ! "$package" ] && exit
|
||||
|
||||
sudo pacman -S "$package"
|
Loading…
x
Reference in New Issue
Block a user