config/shell/arch: add yayre
This commit is contained in:
parent
616d51d4f9
commit
01fb3edac4
|
@ -5,9 +5,16 @@ alias pac='noglob sudo pacman'
|
|||
alias pacs='pac -Syu --needed'
|
||||
alias pacr='pac -R --recursive'
|
||||
alias yau='sudo systemctl start --show-transaction reflector && noglob yay'
|
||||
alias yays='noglob yay -Sy --needed --noprovides --noremovemake'
|
||||
alias yays='noglob yay -Sy --needed --noprovides'
|
||||
alias yayr='noglob yay -R --cascade --recursive'
|
||||
|
||||
_yayre_params="-S --rebuild --noprovides --nodiffmenu --noconfirm"
|
||||
# Reinstall given packages with all dependencies - https://www.reddit.com/r/archlinux/comments/33cety
|
||||
yayre() {
|
||||
yay $(echo $_yayre_params) --asdeps $(yay -Si "$@" | grep Depends | cut -d':' -f2) &&
|
||||
yay $(echo $_yayre_params) "$@"
|
||||
}
|
||||
|
||||
# Helper function to integrate yay and fzf
|
||||
yzf() {
|
||||
pos=$1
|
||||
|
|
Loading…
Reference in New Issue