Skip to content

feat: add PLANNOTATOR_BROWSER env var for custom browser selection - #48

Merged
backnotprop merged 1 commit into
mainfrom
feature/custom-browser
Jan 9, 2026
Merged

backnotprop merged 1 commit into
mainfrom
feature/custom-browser

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

Summary

  • Add PLANNOTATOR_BROWSER environment variable to specify which browser opens plan files
  • Default behavior unchanged - only activates when env var is set
  • Document in CLAUDE.md and both plugin READMEs

Usage

# macOS - app name or path
export PLANNOTATOR_BROWSER="Google Chrome"
export PLANNOTATOR_BROWSER="/Applications/Firefox.app"

# Linux/Windows - executable path
export PLANNOTATOR_BROWSER="/usr/bin/firefox"

Test plan

  • Without env var: Opens in default browser (unchanged)
  • With env var on macOS: Opens in specified app
  • With env var on Linux: Opens with specified executable

Closes #42

🤖 Generated with Claude Code

Allow users to specify which browser opens plan files via environment variable.
Default behavior unchanged - only activates when env var is set.

- macOS: Set to app name ("Google Chrome") or path
- Linux/Windows: Set to executable path

Closes #42

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

Allow users to specify the browser in which to open the plan files

1 participant