Makes fzf list packages for paru on tab
This commit is contained in:
		
							parent
							
								
									e474335aae
								
							
						
					
					
						commit
						063ffb3da2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 ;; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue