From 8e6c5bc562c78bde0fc0381554042893e09fe4cf Mon Sep 17 00:00:00 2001 From: Tim Sampson Date: Wed, 22 Aug 2018 10:46:22 +0300 Subject: [PATCH] doc: mention BAT_THEME in help output --- src/app.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 0b98c7ca..25369a75 100644 --- a/src/app.rs +++ b/src/app.rs @@ -129,7 +129,10 @@ impl App { .help("Set the theme for highlighting") .long_help( "Set the theme for syntax highlighting. Use '--list-themes' to \ - see all available themes", + see all available themes. To set a default theme export the \ + BAT_THEME environment variable e.g. use export \ + BAT_THEME=\"TwoDark\" in your shells startup file to \ + permanently use the TwoDark theme.", ), ).arg( Arg::with_name("line-range")