Fix README phrasing about dark mode

This commit is contained in:
Brice Dutheil 2020-04-21 22:11:07 +02:00 committed by David Peter
parent 70480ee9d4
commit 37831cdcb3
1 changed files with 2 additions and 2 deletions

View File

@ -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)"