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

Special EDITOR variable for sops #1605

Open
musjj opened this issue Sep 10, 2024 · 2 comments · May be fixed by #1611
Open

Special EDITOR variable for sops #1605

musjj opened this issue Sep 10, 2024 · 2 comments · May be fixed by #1611

Comments

@musjj
Copy link

musjj commented Sep 10, 2024

A special EDITOR variable for sops would be nice to have (e.g. SOPS_EDITOR following the GIT_EDITOR, SUDO_EDITOR, etc. convention). My use case is for better integration with GUI editors.

For example, I have my EDITOR set to code because I don't want to block my terminal when opening files in VS Code. But for GIT_EDITOR, I set it to code -rw because I want it to block so that git waits until I'm done writing my commit message.

@felixfontein
Copy link
Contributor

Sounds like a good idea to me!

@felixfontein felixfontein modified the milestones: 3.9.1, 3.10.0 Sep 11, 2024
@felixfontein felixfontein linked a pull request Sep 11, 2024 that will close this issue
@felixfontein
Copy link
Contributor

I created #1611 to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants