mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Set default --color to "off"
This commit is contained in:
parent
29bbab64b3
commit
e1818430b7
2 changed files with 2 additions and 6 deletions
7
ncdu.1
7
ncdu.1
|
|
@ -1,6 +1,6 @@
|
|||
.\" SPDX-FileCopyrightText: Yoran Heling <projects@yorhel.nl>
|
||||
.\" SPDX-License-Identifier: MIT
|
||||
.Dd January 21, 2024
|
||||
.Dd April 20, 2024
|
||||
.Dt NCDU 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -295,10 +295,7 @@ for a variation of the
|
|||
color scheme that also works in terminals with a light background.
|
||||
.Pp
|
||||
The default is
|
||||
.Ar dark\-bg
|
||||
unless the
|
||||
.Ev NO_COLOR
|
||||
environment variable is set.
|
||||
.Ar off .
|
||||
.El
|
||||
.Sh CONFIGURATION
|
||||
.Nm
|
||||
|
|
|
|||
|
|
@ -433,7 +433,6 @@ pub fn main() void {
|
|||
config.thousands_sep = span;
|
||||
}
|
||||
}
|
||||
if (std.posix.getenvZ("NO_COLOR") == null) config.ui_color = .darkbg;
|
||||
|
||||
const loadConf = blk: {
|
||||
var args = std.process.ArgIteratorPosix.init();
|
||||
|
|
|
|||
Loading…
Reference in a new issue