mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 07:04:04 +00:00 
			
		
		
		
	Merge color scheme options into theme / BAT_THEME
This commit is contained in:
		
							
								
								
									
										9
									
								
								assets/completions/bat.fish.in
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								assets/completions/bat.fish.in
									
									
									
									
										vendored
									
									
								
							| @@ -99,13 +99,6 @@ set -l color_opts ' | ||||
| ' | ||||
| set -l decorations_opts $color_opts | ||||
| set -l paging_opts $color_opts | ||||
| set -l color_scheme_opts " | ||||
|     auto\t'Use the terminal\'s color scheme if the output is not redirected (default)' | ||||
|     auto:always\t'Always use the terminal\'s color scheme' | ||||
|     dark\t'Use a dark syntax highlighting theme' | ||||
|     light\t'Use a light syntax highlighting theme' | ||||
|     system\t'Query the OS for its color scheme (macOS only)' | ||||
| " | ||||
|  | ||||
| # Include some examples so we can indicate the default. | ||||
| set -l pager_opts ' | ||||
| @@ -150,8 +143,6 @@ complete -c $bat -l config-file -f -d "Display location of configuration file" - | ||||
|  | ||||
| complete -c $bat -l decorations -x -a "$decorations_opts" -d "When to use --style decorations" -n __bat_no_excl_args | ||||
|  | ||||
| complete -c $bat -l color-scheme -x -a "$color_scheme_opts" -d "Whether to choose a dark or light syntax highlighting theme" -n __bat_no_excl_args | ||||
|  | ||||
| complete -c $bat -l diagnostic -d "Print diagnostic info for bug reports" -n __fish_is_first_arg | ||||
|  | ||||
| complete -c $bat -s d -l diff -d "Only show lines with Git changes" -n __bat_no_excl_args | ||||
|   | ||||
		Reference in New Issue
	
	Block a user