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:
parent
82d2e3079a
commit
47b4774505
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue