mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 15:12:12 +00:00 
			
		
		
		
	Fix missing and inconsistent code fences in REAMDE
This commit is contained in:
		| @@ -135,9 +135,8 @@ bat main.cpp | xclip | |||||||
| #### `man` | #### `man` | ||||||
|  |  | ||||||
| `bat` can be used as a pager for `man`. It can be used like this: | `bat` can be used as a pager for `man`. It can be used like this: | ||||||
| ``` | ```bash | ||||||
| export MANPAGER="sh -c 'col -b | bat -l man -p'" | export MANPAGER="sh -c 'col -b | bat -l man -p'" | ||||||
|  |  | ||||||
| man 2 select | man 2 select | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| @@ -194,7 +193,7 @@ emerge sys-apps/bat | |||||||
| ### On Void Linux | ### On Void Linux | ||||||
|  |  | ||||||
| You can install `bat` via xbps-install: | You can install `bat` via xbps-install: | ||||||
| ``` | ```bash | ||||||
| xbps-install -S bat | xbps-install -S bat | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| @@ -225,7 +224,7 @@ nix-env -i bat | |||||||
|  |  | ||||||
| You can install `bat` with zypper: | You can install `bat` with zypper: | ||||||
|  |  | ||||||
| ``` | ```bash | ||||||
| zypper install bat | zypper install bat | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| @@ -494,7 +493,7 @@ or by setting `BAT_PAGER` to an empty string. | |||||||
|  |  | ||||||
| This can be solved by creating a wrapper or adding the following function to your `.bash_profile` file: | This can be solved by creating a wrapper or adding the following function to your `.bash_profile` file: | ||||||
|  |  | ||||||
| ```shell | ```bash | ||||||
| bat() { | bat() { | ||||||
|     local index |     local index | ||||||
|     local args=("$@") |     local args=("$@") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user