wfxr.forgit/conf.d
Yang Zhao 9fa93b0861
perf(fish): migrate FORGIT_ vars without spawning subprocesses (#543)
The backwards-compatibility block that exports unexported FORGIT_ config
variables ran `set | awk | grep` plus a `set -x | grep` for every variable,
forking multiple external processes on every interactive fish startup.

Replace the pipeline with fish's built-in `set -n`/`set -xn` and
`string match`, which run in-process. Behavior is unchanged: unexported
FORGIT_ variables are still detected, warned about, and exported; nothing
is emitted when all variables are already exported.

Co-authored-by: AllanZyne <AllanZyne@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 21:42:17 +02:00
..
bin Move implementation to standalone forgit 2022-11-14 17:52:58 +01:00
forgit.plugin.fish perf(fish): migrate FORGIT_ vars without spawning subprocesses (#543) 2026-07-13 21:42:17 +02:00