Commit graph

12 commits

Author SHA1 Message Date
9dded655fc Consolidate rbenv setup into single 20-rbenv script
Merge 10-rbenv-path (disabled, PATH-only) into 20-rbenv (active, init),
so both path_prepend and rbenv init live under one existence guard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:13:42 +01:00
6cc9123807 Move inline .bashrc config into modular .bash.d/ scripts
Extracted history, shell options, dircolors, rbenv, ~/.local/bin PATH,
and Maestro PATH from ~/.bashrc into dedicated .bash.d/ files, reducing
.bashrc from 126 lines to a minimal 23-line loader.

New files:
- 10-local-path: ~/.local/bin via path_prepend
- 10-maestro-path: ~/.maestro/bin via path_append
- 20-rbenv: rbenv init with existence guard
- 30-shell-options: history, checkwinsize, dircolors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:09:54 +01:00
b8f2634d93 Integrate old-svovel config: paths, aliases, completions
Add ~/bin PATH, rbenv (disabled), debuginfod, sccache, LESS/ag/task
aliases, and cargo/rustup completions. Removes old-svovel/ directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:19:13 +01:00
8df7eab370 Add lesspipe preprocessor for less
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 12:41:16 +01:00
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