bash.d/50-fj-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
139 B
Text
Executable file

# shellcheck shell=bash
# Tab completion for fj, the Forgejo CLI (like GitHub CLI but for Forgejo)
cached_completion fj fj completion bash