diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 06:00:59 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 06:00:59 -0500 |
| commit | 9b405b697cef5a9be5b2b8eeaa20a8c6dff1ff69 (patch) | |
| tree | 9b549c7546a916aa386a538319a0d7164eca13fa /scripts/package-inventory | |
| parent | 8ea5bd45fb6d613a48d5285e99026925a4dfaae0 (diff) | |
| download | archsetup-9b405b697cef5a9be5b2b8eeaa20a8c6dff1ff69.tar.gz archsetup-9b405b697cef5a9be5b2b8eeaa20a8c6dff1ff69.zip | |
feat(profile.d): name Claude Code remote-control sessions by host and cwd
I added a shell function that wraps `claude` and exports
CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX as "<short-hostname>/<cwd-basename>"
on every call. The prefix shows up in FleetView and `claude agents` so I can
tell sessions apart when several are open across projects and hosts.
I picked a function over a plain .zshrc export because $PWD has to re-evaluate
each call, not once at shell init. I picked it over an alias because the
function form is greppable and reads cleanly in `type` output.
Only affects Remote Control mode. Plain interactive `claude` is unchanged.
Diffstat (limited to 'scripts/package-inventory')
0 files changed, 0 insertions, 0 deletions
