Commit graph

8 commits

Author SHA1 Message Date
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
a9875dceec Add podman and gh completions, fix bun completion style
Add bash completion scripts for podman and gh CLI.
Switch bun completion from eval to process substitution
for consistency with other completion scripts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 18:11:22 +01:00
9e5718296a Add bash completion for bun
Source bun's built-in completion output via `bun completions`
(no shell argument needed — it defaults to bash).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:56:51 +01:00
ed82cebd16 Add Claude Code hooks and new-credential skill
Hooks:
- PreToolUse: block direct edits to credential files (99-claude, etc.)
- PostToolUse: auto-run shellcheck after editing bash.d scripts

Skill:
- /new-credential: scaffolds a credential file pair (.example template +
  real file), adds to .gitignore, sets permissions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 12:52:56 +01:00
2b747b6945 Rename 99-android to 20-android and improve CLAUDE.md
99-android was not a credential file — it sets up Android SDK paths
and belongs with other build tools. Also updated CLAUDE.md with
validate-all command, test instructions, and clearer permission rules.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 12:09:51 +01:00
0791d74b0d Add descriptive comments to all scripts
Each file now has a brief comment explaining what the tool is and
what the script does, aimed at someone with general Linux knowledge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 12:05:05 +01:00
fce6ab6e0c Add bashrc usage instructions to README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 12:02:19 +01:00
4cfec0b336 Initial commit: modular bash configuration
Reinitialised repo to purge credential history.
Credential files are now gitignored with .example templates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:57:24 +01:00