mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 07:04:04 +00:00 
			
		
		
		
	Removed confusing variable from examples in README.md
Removed confusing the variable `BAT_CONFIG_DIR` from examples because it is not a real configuration option for bat.
This commit is contained in:
		
				
					committed by
					
						 David Peter
						David Peter
					
				
			
			
				
	
			
			
			
						parent
						
							0571c51487
						
					
				
				
					commit
					d3d795ffb2
				
			
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							| @@ -262,10 +262,8 @@ and theme. To add new syntax definitions, do the following. | ||||
| Create a folder with syntax definition files: | ||||
|  | ||||
| ```bash | ||||
| BAT_CONFIG_DIR="$(bat cache --config-dir)" | ||||
|  | ||||
| mkdir -p "$BAT_CONFIG_DIR/syntaxes" | ||||
| cd "$BAT_CONFIG_DIR/syntaxes" | ||||
| mkdir -p "$(bat cache --config-dir)/syntaxes" | ||||
| cd "$(bat cache --config-dir)/syntaxes" | ||||
|  | ||||
| # Put new '.sublime-syntax' language definition files | ||||
| # in this folder (or its subdirectories), for example: | ||||
| @@ -292,10 +290,8 @@ This works very similar to how we add new syntax definitions. | ||||
|  | ||||
| First, create a folder with the new syntax highlighting themes: | ||||
| ```bash | ||||
| BAT_CONFIG_DIR="$(bat cache --config-dir)" | ||||
|  | ||||
| mkdir -p "$BAT_CONFIG_DIR/themes" | ||||
| cd "$BAT_CONFIG_DIR/themes" | ||||
| mkdir -p "$(bat cache --config-dir)/themes" | ||||
| cd "$(bat cache --config-dir)/themes" | ||||
|  | ||||
| # Download a theme in '.tmTheme' format, for example: | ||||
| git clone https://github.com/greggb/sublime-snazzy | ||||
|   | ||||
		Reference in New Issue
	
	Block a user