Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for $EDITOR with arguments #9010

Closed
wants to merge 2 commits into from

Conversation

DanielShaulov
Copy link
Contributor

"pip config edit" doesn't work if "$EDITOR" also provides an argument for the editor. This commit fixes that.
The common example is "EDITOR=code -w", which is useful to have vscode as the editor for "git commit".
The "-w" ensures that the "code" process doesn't exit until the tab for the edited file is closed.

I need a PR number to create the NEWS fragment (since there is no issue) so will add that immediately after opening the PR

DanielShaulov and others added 2 commits October 19, 2020 09:50
"pip config edit" doesn't work if "$EDITOR" also provides an argument for the editor. This commit fixes that.
The common example is "EDITOR=code -w", which is useful to have vscode as the editor for "git commit".
The "-w" ensures that the "code" process doesn't exit until the tab for the edited file is closed.
@pradyunsg
Copy link
Member

Please see #7392 if you haven't already.

@DanielShaulov
Copy link
Contributor Author

Please see #7392 if you haven't already.

Oh, wow, no. This seemed very trivial, so I didn't search for existing issues.
Sorry for that, closing in favor of the other PRs and issues.

@DanielShaulov DanielShaulov deleted the patch-1 branch October 19, 2020 07:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants