Add fuzzy package installation/removal

Use fzay to install packages by fuzzy finding them. Use uzay to
uninstall with fzf.
This commit is contained in:
Marty Oehme 2019-11-24 16:18:10 +01:00
parent 82d2e3079a
commit 47b4774505

View file

@ -76,3 +76,8 @@ alias ref=fzf_bibtex
# Display fuzzy-searchable history
alias zhfind="history | fzf --tac --height 20"
# Fuzzy search packages to install
alias fzay="yay -Slq | fzf -m --preview 'yay -Si {1}' | xargs -ro yay -S"
# Fuzzy uninstall packages
alias uzay="yay -Qeq | fzf -m --preview 'yay -Qi {1}' | xargs -ro yay -Rs"