mirror of
https://github.com/sharkdp/bat
synced 2024-11-15 00:27:10 +00:00
Fix README phrasing about dark mode
This commit is contained in:
parent
70480ee9d4
commit
37831cdcb3
1 changed files with 2 additions and 2 deletions
|
@ -471,8 +471,8 @@ it should work out of the box.
|
|||
### Dark mode
|
||||
|
||||
If you make use of the dark mode feature in macOS, you might want to configure `bat` to use a different
|
||||
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.
|
||||
theme based on the OS theme. The following snippet uses the `default` theme when in the _dark mode_
|
||||
and the `GitHub` theme when in the _light mode_.
|
||||
|
||||
```bash
|
||||
alias cat="bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo default || echo GitHub)"
|
||||
|
|
Loading…
Reference in a new issue