fix conf management

This commit is contained in:
2026-10-13 11:49:40 +02:00
parent 6bfc2804ab
commit daa2ee755c
4 changed files with 192 additions and 86 deletions
+11
View File
@@ -25,6 +25,17 @@ Versions follow `MAJOR.MINOR.PATCH-REVISION_STAGE_N` (e.g. `3.99.1-4_rc_1`).
fallback (no `pigz`) works again.
- `utaz`: single top-level directory flattening, `--no-dir` target location,
`foo.tar.gz` host directory name and `.tar.lz` extraction.
- `conf_save`: no longer replaces a symlinked configuration file by a regular
one, keeps the file permissions, rejects multi-line values, and inserts a new
key before the trailing comments/banner of its section instead of under the
next section's banner; leading blanks before a `[section]` are recognised.
- `conf_dump -a`: a commented default is no longer listed when the key is set
later in the same section; `NO_COLOR` is honoured; names with newlines or
backslashes in arguments are handled.
- `term_set`: `COLORTERM=truecolor` no longer short-circuits every other probe
(it selected `xterm-direct` even inside tmux/screen or VTE terminals);
multiplexers (tmux, screen) are now checked before emulator hints, since they
inherit the emulator's variables.
- `compress.sh`: option flags and loop variables no longer leak into the
interactive shell.
+3 -2
View File
@@ -157,8 +157,9 @@ Set `TERM` in the `[system]` section of `profile.conf`:
When `TERM` is absent or set to `smart`, `term_set` probes your terminal
emulator's environment variables (`COLORTERM`, `TERM_PROGRAM`, `VTE_VERSION`,
`WT_SESSION`, `TMUX`, `STY`) and then tests terminfo entries in preference
order. If you are experiencing display issues, run `term_set` interactively
and check the result with `echo $TERM`. See *Prompt & theming* below for
order (multiplexers first). If you are experiencing display issues, run
`TERM=smart; term_set` interactively (`term_set` leaves an already-set `TERM`
untouched) and check the result with `echo $TERM`. See *Prompt & theming* below for
symptoms caused by a wrong `TERM` value.
---