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
{{ message }}
Repository navigation
Hook: ~/.cargo/bin not in PATH, rewritten commands use bare 'rtk' instead of absolute path #111
PR #161 changes the install directory to ~/.local/bin but doesn't fix the hook PATH. The hook still does command -v rtk without adding common install paths.
Fix is one line at the top of .claude/hooks/rtk-rewrite.sh (before the guard check):
Verified fix: PR #150 eliminates this by replacing bash/jq hook with native Rust rtk hook-rewrite subcommand. No PATH lookup needed -- if rtk is callable, the hook works. Build passes, 435 tests pass (94 hook-specific).
Activity
pszymkowiak commentedon Feb 17, 2026
PR #161 changes the install directory to
~/.local/binbut doesn't fix the hook PATH. The hook still doescommand -v rtkwithout adding common install paths.Fix is one line at the top of
.claude/hooks/rtk-rewrite.sh(before the guard check):PR welcome.
Rmohid commentedon Feb 18, 2026
Verified fix: PR #150 eliminates this by replacing bash/jq hook with native Rust
rtk hook-rewritesubcommand. No PATH lookup needed -- if rtk is callable, the hook works. Build passes, 435 tests pass (94 hook-specific).