Skip to content

Commit f11d858

Browse files
committed
Use SOPS_EDITOR before EDITOR.
Converted from getsops/sops@5b7c45f Signed-off-by: Felix Fontein <felix@fontein.de>
1 parent b919c15 commit f11d858

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

content/en/docs/_index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@ please wait while an encryption key is being generated and stored in a secure fa
113113
file written to mynewtestfile.yaml
114114
```
115115
116-
Editing will happen in whatever `$EDITOR` is set to, or, if it\'s not
117-
set, in vim. Keep in mind that SOPS will wait for the editor to exit,
116+
Editing will happen in whatever `$SOPS_EDITOR` or `$EDITOR` is set to,
117+
or, if it's not set, in vim, nano, or vi.
118+
Keep in mind that SOPS will wait for the editor to exit,
118119
and then try to reencrypt the file. Some GUI editors (atom, sublime)
119120
spawn a child process and then exit immediately. They usually have an
120121
option to wait for the main editor window to be closed before exiting.

0 commit comments

Comments
 (0)