aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/create-base-vm.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 06:00:59 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 06:00:59 -0500
commite2db0679694993554b26366e49cddd9e8cedd08f (patch)
tree9b549c7546a916aa386a538319a0d7164eca13fa /scripts/testing/create-base-vm.sh
parent2ef03a1b84c9f70663207713ecbc4e3297e20760 (diff)
downloadarchsetup-e2db0679694993554b26366e49cddd9e8cedd08f.tar.gz
archsetup-e2db0679694993554b26366e49cddd9e8cedd08f.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/create-base-vm.sh')
0 files changed, 0 insertions, 0 deletions