From c9c3341a38838b3b9815c522642d75a95355a4a8 Mon Sep 17 00:00:00 2001 From: David Peter Date: Sun, 15 Sep 2019 15:54:34 +0200 Subject: [PATCH] Use bash syntax highlighting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f1b41a6..4eb241bc 100644 --- a/README.md +++ b/README.md @@ -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)" ```