Only show explicitly installed when tab-completing pacman -R*
When tabcompleting for pacman -R*, I generally only want to show things that I've explicitly installed, rather than things that have been installed automatically as a dependency.
This commit is contained in:
		
							parent
							
								
									dfa5f5e424
								
							
						
					
					
						commit
						f6964bf3ba
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,7 @@ overidecomplete(){
 | 
			
		|||
					# 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 ;;
 | 
			
		||||
					# If I want to uninstall something, give a list of things to uninstall
 | 
			
		||||
					-R*) toadd="$($cmd -Qq | fzf -m --preview "$cmd -Qi {1}" | tr '\n' ' ')"; ret=0 ;;
 | 
			
		||||
					-R*) toadd="$($cmd -Qeq | fzf -m --preview "$cmd -Qi {1}" | tr '\n' ' ')"; ret=0 ;;
 | 
			
		||||
					-Ql) toadd="$($cmd -Qq | fzf -m --preview "$cmd -Qi {1}" | tr '\n' ' ')"; ret=0 ;;
 | 
			
		||||
				esac ;;
 | 
			
		||||
			msfvenom)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue