bash.d/50-asdf-completion
Ole-Morten Duesund 6a00847d4e Speed up shell startup 9x (1.9s → 0.2s)
Lazy-load Intel oneAPI setvars.sh (~1.5s) via wrapper functions that
source the environment on first use of icc/icx/ifort/etc.

Cache all shell completion outputs to ~/.cache/bash.d/ so they are
sourced from disk instead of regenerated via subprocess on every
shell start.  Cache invalidates automatically when the tool binary
is updated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 09:27:12 +01:00

3 lines
150 B
Text
Executable file

# shellcheck shell=bash
# Tab completion for asdf, a tool that manages multiple language runtime versions
cached_completion asdf asdf completion bash