summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-04-15 13:31:22 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-04-15 14:45:08 -0400
commit7241d6cc35134fcb5ec6dfa81bbd01e430b2415f (patch)
tree3b3dbde25dff9430ca644f680249a6add224f213 /parse.c
parenta571aa9ef6f3dc2099ee33c5040f8c54776ddece (diff)
downloadbfs-7241d6cc35134fcb5ec6dfa81bbd01e430b2415f.tar.xz
color: Support a separate $BFS_COLORS environment variable
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 17aeafe..65087a0 100644
--- a/parse.c
+++ b/parse.c
@@ -3856,7 +3856,7 @@ struct bfs_ctx *bfs_parse_cmdline(int argc, char *argv[]) {
use_color = COLOR_NEVER;
}
- ctx->colors = parse_colors(getenv("LS_COLORS"));
+ ctx->colors = parse_colors();
if (!ctx->colors) {
ctx->colors_error = errno;
}