Add comment why we prefer gls

This commit is contained in:
sharkdp 2020-04-15 20:34:20 +02:00 committed by David Peter
parent 0f5500adfc
commit d91100e354

View file

@ -178,7 +178,7 @@ fn run() -> Result<ExitCode> {
// MacOS // MacOS
use std::process::{Command, Stdio}; use std::process::{Command, Stdio};
// Use GNU ls, if available // Use GNU ls, if available (support for --color=auto, better LS_COLORS support)
let gnu_ls_exists = Command::new("gls") let gnu_ls_exists = Command::new("gls")
.arg("--version") .arg("--version")
.stdout(Stdio::null()) .stdout(Stdio::null())