Completions for installing & removing packages using yay for Emacs.

pcomplete-yay-screenshot

Installation

(straight-use-package 
 '(pcomplete-yay :type git
                 :host nil
	             :repo "https://git.thanosapollo.org/pcomplete-yay"))
				 
(require 'pcomplete-yay)				 

Manual

$ git clone https://git.thanosapollo.org/pcomplete-yay

Add this to your emacs configuration:

   (add-to-list 'load-path "/path/to/pcomplete-yay")
   (load-file "~/path/to/pcomplete-yay.el")
   (require 'pcomplete-yay)

Configuration

Use paru instead of yay

(setf pcomplete-yay-exec (executable-find "paru"))
(pcomplete-yay-set "paru")