From c810f5a88084473c40123e8231132cad5c331f53 Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Sun, 18 Oct 2026 22:44:58 +0400 Subject: [PATCH] fix: pass shell PATH to panel service so tmux panes find lf (#4, H-1) The launchd service runs with PATH=/usr/bin:/bin:/usr/sbin:/sbin; tmux split-window gives the new pane the caller's PATH, so 'exec lf' failed and the pane closed at once. install.sh now records its own PATH in the plist EnvironmentVariables. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 2 +- README.md | 5 ++++- files/launchagent.py | 13 ++++++++----- install.sh | 3 ++- tests/test_launchagent.py | 6 ++++-- 5 files changed, 19 insertions(+), 10 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 591f276..5a563ef 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -36,7 +36,7 @@ Mac: видеть, что делают все запущенные `claude` (в сообщения), `/activate` и `/open-wt` (через tmux), `/raw` (отладка). - без флага (`register_toolbelt`) — скрипт AutoLaunch iTerm2: регистрирует web view «Claude» на адрес службы; если порт молчит — `launchctl kickstart`. Свой сервер не поднимает. -- `files/launchagent.py` — пишет plist службы (`write