Skip to content

Conversation

@jezdez
Copy link
Member

@jezdez jezdez commented Dec 15, 2025

Fixes #422

The template strings (bashExtraText, powerExtraText, batchExtraText) had 2-space indentation inherited from TypeScript code formatting. This indentation was written to shell config files like .xonshrc, breaking xonsh's Python-based syntax.

Refactored to use array.join() pattern which is immune to auto-formatter indentation changes.

Fixes #422

The template strings (bashExtraText, powerExtraText, batchExtraText) had
2-space indentation inherited from TypeScript code formatting. This
indentation was written to shell config files like .xonshrc, breaking
xonsh's Python-based syntax.

Refactored to use array.join() pattern which is immune to auto-formatter
indentation changes.
@jezdez jezdez requested a review from a team as a code owner December 15, 2025 10:13
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.

Indented bashExtraText breaks xonsh, doesn't match parent indentation

3 participants