Skip to main content

apply_auto_gnu

Function apply_auto_gnu 

Source
pub fn apply_auto_gnu(args: &mut Args, is_stdout_tty: bool)
Expand description

Auto-enable script-safe / GNU mode when stdout is not a TTY.

Daily-driver product chrome (icons, git, modern sort) is for interactive terminals. Pipes, capture, and CI get coreutils-shaped output unless the user opts out with --no-gnu / F00_NO_GNU=1.