-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Problem
The GOOSE_TERMINAL environment variable feature was added in PR #3911, but there's no documentation explaining how users can leverage this feature.
Solution
Add documentation that explains:
- What the
GOOSE_TERMINALenvironment variable is - When it gets set (all command executions by Goose)
- How users can use it to customize their shell environment
- Practical examples of use cases
Suggested Documentation Locations
- User guide/configuration section
- Environment variables reference
- Developer extension documentation
Example Use Cases to Document
-
Custom aliases for Goose sessions:
if [[ -n "$GOOSE_TERMINAL" ]]; then alias find="echo 'Use rg (ripgrep) instead of find for better performance'" alias ls="ls --color=auto" fi
-
Goose-specific PATH modifications:
if [[ -n "$GOOSE_TERMINAL" ]]; then export PATH="/usr/local/goose-tools:$PATH" fi
-
Custom prompt indicators:
if [[ -n "$GOOSE_TERMINAL" ]]; then export PS1="[GOOSE] $PS1" fi
Acceptance Criteria
- Documentation explains what GOOSE_TERMINAL is and when it's set
- Includes practical examples of how to use it
- Documents best practices and common use cases
- Links to related PR feat: Add
GOOSE_TERMINALenv variable to spawned terminals #3911 for context - Available in appropriate sections of the documentation
Related
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request