diff options
Diffstat (limited to 'dotfiles/common/.profile.d/claude.sh')
| -rw-r--r-- | dotfiles/common/.profile.d/claude.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/dotfiles/common/.profile.d/claude.sh b/dotfiles/common/.profile.d/claude.sh deleted file mode 100644 index f9ec9dd..0000000 --- a/dotfiles/common/.profile.d/claude.sh +++ /dev/null @@ -1,15 +0,0 @@ -# claude.sh -# Craig Jennings <c@cjennings.net> -# Claude Code wrapper — auto-name Remote Control sessions as <host>/<cwd-basename> - -# Wraps `claude` so each invocation sets a session-name prefix derived from -# the current short hostname and the basename of the working directory. The -# prefix appears in FleetView and in `claude agents` so multiple sessions are -# distinguishable at a glance (e.g. "ratio/homelab", "mybitch/yt-sync"). -# -# Only affects Remote Control mode; plain interactive sessions are auto-named -# from the first prompt and don't read this variable. -claude() { - CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX="$(hostname -s)/$(basename "$PWD")" \ - command claude "$@" -} |
