Skip to content

Fix --edit to handle $EDITOR/$VISUAL values with arguments#439

Merged
ryanfowler merged 2 commits intomainfrom
fix/edit-split-editor-args
Mar 8, 2026
Merged

Fix --edit to handle $EDITOR/$VISUAL values with arguments#439
ryanfowler merged 2 commits intomainfrom
fix/edit-split-editor-args

Conversation

@ryanfowler
Copy link
Copy Markdown
Owner

Split $EDITOR/$VISUAL env values using shell-word semantics so that common configurations like EDITOR="code --wait" work correctly instead of being passed as a single executable name to exec.Command.

Split $EDITOR/$VISUAL env values using shell-word semantics so that
common configurations like EDITOR="code --wait" work correctly instead
of being passed as a single executable name to exec.Command.
@ryanfowler ryanfowler merged commit 1803be4 into main Mar 8, 2026
10 checks passed
@ryanfowler ryanfowler deleted the fix/edit-split-editor-args branch March 8, 2026 01:27
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.

1 participant