mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 15:12:12 +00:00 
			
		
		
		
	Exclude --unbuffered from bash completions
It's a no-op, so there's little reason to suggest it.
This commit is contained in:
		
				
					committed by
					
						 David Peter
						David Peter
					
				
			
			
				
	
			
			
			
						parent
						
							c816188f97
						
					
				
				
					commit
					66edfe5dff
				
			
							
								
								
									
										2
									
								
								assets/completions/bat.bash.in
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								assets/completions/bat.bash.in
									
									
									
									
										vendored
									
									
								
							| @@ -124,6 +124,7 @@ _bat() { | |||||||
| 	$split && return 0 | 	$split && return 0 | ||||||
|  |  | ||||||
| 	if [[ $cur == -* ]]; then | 	if [[ $cur == -* ]]; then | ||||||
|  | 		# --unbuffered excluded intentionally (no-op) | ||||||
| 		COMPREPLY=($(compgen -W " | 		COMPREPLY=($(compgen -W " | ||||||
| 			--show-all | 			--show-all | ||||||
| 			--plain | 			--plain | ||||||
| @@ -149,7 +150,6 @@ _bat() { | |||||||
| 			--style | 			--style | ||||||
| 			--line-range | 			--line-range | ||||||
| 			--list-languages | 			--list-languages | ||||||
| 			--unbuffered |  | ||||||
| 			--diagnostic | 			--diagnostic | ||||||
| 			--acknowledgements | 			--acknowledgements | ||||||
| 			--help | 			--help | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user