summaryrefslogtreecommitdiffstats
path: root/src/args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/args.rs b/src/args.rs
index cd905b45..fb37c715 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -692,7 +692,10 @@ impl<'a> ArgMatches<'a> {
fn color_specs(&self) -> Result<ColorSpecs> {
// Start with a default set of color specs.
let mut specs = vec![
+ #[cfg(unix)]
"path:fg:magenta".parse().unwrap(),
+ #[cfg(windows)]
+ "path:fg:cyan".parse().unwrap(),
"line:fg:green".parse().unwrap(),
"match:fg:red".parse().unwrap(),
"match:style:bold".parse().unwrap(),