Skip to content

Conversation

@lox
Copy link
Owner

@lox lox commented Oct 8, 2025

Summary

  • Use absolute path $HOME/bin/wtp to avoid PATH resolution issues during shell reload
  • Add fallback to command -v wtp for robustness
  • Suppress stderr to avoid noise during shell initialization

Test plan

  • Verify wtp hooks work correctly after shell reload
  • Confirm no error messages during shell initialization
  • Test both with wtp in $HOME/bin and in PATH

During shell reload, the PATH might not be fully initialized when wtp
hooks are evaluated. Use $HOME/bin/wtp directly with a fallback to
command -v for more reliable initialization.
@lox lox merged commit 220c5fa into main Oct 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants