added pacman scripts
This commit is contained in:
parent
929e2d330b
commit
bc4be96cb1
2
.local/share/scripts/pacman-browse.sh
Executable file
2
.local/share/scripts/pacman-browse.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
comm -23 <(pacman -Qqe | sort) <({ pacman -Qqg base-devel; expac -l '\n' '%E' base; } | sort -u) | fzf --preview 'pacman -Qil {}' --bind 'enter:execute(pacman -Qil {} | less)'
|
6
.local/share/scripts/pacman-install.sh
Executable file
6
.local/share/scripts/pacman-install.sh
Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user