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"
|
1
.shellrc
1
.shellrc
@ -36,7 +36,6 @@ alias tr='tree -L 2'
|
|||||||
alias owo='pacman'
|
alias owo='pacman'
|
||||||
alias sowo='sudo pacman'
|
alias sowo='sudo pacman'
|
||||||
alias yay='yay --editmenu --nodiffmenu --save'
|
alias yay='yay --editmenu --nodiffmenu --save'
|
||||||
alias uwu="yay -Slq | fzf -m --preview 'yay -Si {1}' | yay -S -"
|
|
||||||
|
|
||||||
# youtube-dl
|
# youtube-dl
|
||||||
alias ytdl-audio='youtube-dl -i -f bestaudio -o "%(title)s.%(ext)s" -4'
|
alias ytdl-audio='youtube-dl -i -f bestaudio -o "%(title)s.%(ext)s" -4'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user