mirror of
https://github.com/sharkdp/bat.git
synced 2025-06-29 22:09:04 +02:00
Use bash syntax highlighting
This commit is contained in:
@ -422,7 +422,7 @@ If you make use of the dark mode feature in macOS, you might want to configure `
|
||||
theme based on the OS theme. The following snippet uses the `default` theme when in the light mode
|
||||
and the `GitHub` theme when in the dark mode.
|
||||
|
||||
```
|
||||
```bash
|
||||
alias cat="bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo default || echo GitHub)"
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user