Skip to content

Commit

Permalink
Fix README phrasing about dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 authored and sharkdp committed Apr 21, 2020
1 parent 70480ee commit 37831cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 37831cd

Please sign in to comment.