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 | c53f71320107ef48e281052d83a5e234a4e7f10b (patch) | |
| tree | cff1dd1fd22f5bd2a8d323f3cb1522ce7cc8e4c1 /scripts/testing/debug-vm.sh | |
| parent | 3ca68462cbe035c25ddc4128eebe94202a7c411d (diff) | |
| download | archsetup-c53f71320107ef48e281052d83a5e234a4e7f10b.tar.gz archsetup-c53f71320107ef48e281052d83a5e234a4e7f10b.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/testing/debug-vm.sh')
0 files changed, 0 insertions, 0 deletions
