You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): support Homebrew binary paths for daemon and hooks
Homebrew installs binaries to /opt/homebrew/bin (Apple Silicon) or
/usr/local/bin (Intel), not ~/.shelltime/bin. This adds proper binary
resolution across install methods and embeds hook scripts so Homebrew
users don't need the curl installer for shell hooks.
- Add ResolveDaemonBinaryPath() to search curl-installer, PATH, and
Homebrew fallback locations
- Update plist/systemd templates to use resolved DaemonBinPath
- Embed bash/zsh/fish hook scripts via go:embed for self-contained
Homebrew installs
- Auto-download bash-preexec.sh dependency during hooks install
- Update hooks install to accept shelltime on PATH (not just in
~/.shelltime/bin)
- Add Homebrew install method to README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments