From 9d4e3407530793fc88e16c0f5ab27c8e6960b823 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sun, 20 Feb 2022 14:32:33 +0000 Subject: [PATCH] Makes fzf list packages for paru on tab --- shells/zsh/includes/overidepartialcompletion.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shells/zsh/includes/overidepartialcompletion.zsh b/shells/zsh/includes/overidepartialcompletion.zsh index fb535cfe..69fa5d14 100644 --- a/shells/zsh/includes/overidepartialcompletion.zsh +++ b/shells/zsh/includes/overidepartialcompletion.zsh @@ -39,7 +39,7 @@ overidecomplete(){ if [ "${LBUFFER[-1]}" = " " ]; then case "$cmd" in # Pacman and yay have almost the same syntac so for simplicities sake, treat them the same - pacman|yay) + pacman|yay|paru) case "$lastWord" in # If I want to install something, give a list of things to install -S) toadd="$($cmd -Slq | fzf -m --preview "$cmd -Si {1}" | tr '\n' ' ')"; ret=0 ;;