mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 00:51: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
 | 
			
		||||
 | 
			
		||||
- `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
 | 
			
		||||
 | 
			
		||||
## Syntaxes
 | 
			
		||||
 
 | 
			
		||||
@@ -238,6 +238,7 @@ fn run() -> Result<bool> {
 | 
			
		||||
            .info(EnvironmentVariables::list(&[
 | 
			
		||||
                "SHELL",
 | 
			
		||||
                "PAGER",
 | 
			
		||||
                "LESS",
 | 
			
		||||
                "BAT_PAGER",
 | 
			
		||||
                "BAT_CACHE_PATH",
 | 
			
		||||
                "BAT_CONFIG_PATH",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user