Skip to content

Conversation

boenshao
Copy link
Contributor

@boenshao boenshao commented Aug 2, 2025

For options like SetEnv the value may contain '=', for example SetEnv TERM=xterm-256color, which breaks the parsing logic.

A simple fix, if there is already a space, then just use the space as delimiter.

if " " not in line and "=" in line:
    delim = "="

@haginara haginara merged commit 8840745 into haginara:develop Aug 4, 2025
0 of 2 checks 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