nanuqsaurus/scripts
randogoth b7bb444f3d fix(shell): let bash-preexec install last so atuin preexec fires
Eagerly calling __bp_install at source time made bash-preexec install
before starship/atuin/zoxide/ghostty modified PROMPT_COMMAND, so their
hooks landed after __bp_interactive_mode. bash-preexec then never marked
typed commands as interactive and skipped preexec_functions, so atuin's
__atuin_preexec never fired and history stopped recording
(ATUIN_PREEXEC_BACKEND stuck at "<shlvl>:none").

Remove the eager __bp_install and the manual PROMPT_COMMAND/array wiring
for starship, atuin and zoxide; each tool registers with bash-preexec
itself, and deferred install on the first prompt keeps
__bp_interactive_mode last (verified against bash-preexec 0.6.0).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 16:13:30 +03:00
..
hm-bootstrap.sh hm fixes 2026-02-09 20:15:44 +02:00
install-btrfs.sh refactor: make nanuqsaurus module-based; keep btrfs install profile 2026-02-04 20:53:05 +02:00
shell-init.sh fix(shell): let bash-preexec install last so atuin preexec fires 2026-07-11 16:13:30 +03:00