mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 09:01:56 +00:00 
			
		
		
		
	Merge pull request #1589 from Enselic/include-less-in-diagnostic
Include LESS in --diagnostic
This commit is contained in:
		@@ -8,6 +8,7 @@
 | 
				
			|||||||
## Other
 | 
					## Other
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- `Input::ordinary_file` and `Input::with_name` now accept `Path` rather than `OsStr` see #1571 (@matklad)
 | 
					- `Input::ordinary_file` and `Input::with_name` now accept `Path` rather than `OsStr` see #1571 (@matklad)
 | 
				
			||||||
 | 
					- The `LESS` environment variable is now included in `bat --diagnostic`, see #1589 (@Enselic)
 | 
				
			||||||
- Increased min. required Rust version to 1.45
 | 
					- Increased min. required Rust version to 1.45
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Syntaxes
 | 
					## Syntaxes
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -238,6 +238,7 @@ fn run() -> Result<bool> {
 | 
				
			|||||||
            .info(EnvironmentVariables::list(&[
 | 
					            .info(EnvironmentVariables::list(&[
 | 
				
			||||||
                "SHELL",
 | 
					                "SHELL",
 | 
				
			||||||
                "PAGER",
 | 
					                "PAGER",
 | 
				
			||||||
 | 
					                "LESS",
 | 
				
			||||||
                "BAT_PAGER",
 | 
					                "BAT_PAGER",
 | 
				
			||||||
                "BAT_CACHE_PATH",
 | 
					                "BAT_CACHE_PATH",
 | 
				
			||||||
                "BAT_CONFIG_PATH",
 | 
					                "BAT_CONFIG_PATH",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user