1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

Add $LESSOPEN and $LESSCLOSE support (#2444)

This commit is contained in:
Anomalocaridid
2023-09-02 06:48:26 +00:00
committed by GitHub
parent 3abc0c0fc4
commit e32ad0b048
16 changed files with 748 additions and 4 deletions

View File

@@ -17,6 +17,9 @@ pub fn bat_raw_command_with_config() -> Command {
cmd.env_remove("COLORTERM");
cmd.env_remove("NO_COLOR");
cmd.env_remove("PAGER");
cmd.env_remove("LESSOPEN");
cmd.env_remove("LESSCLOSE");
cmd.env_remove("SHELL");
cmd
}