Store the base PATH alongside the cached result so the cache is only used when the pre-modification PATH still matches. This prevents stale entries when the shell inherits a different base PATH (e.g. inside tmux or after system updates). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1.3 KiB
1.3 KiB