Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to run gui editor? #127
Comments
This comment has been minimized.
This comment has been minimized.
|
sops will wait for the editor to exit. It looks like atom spawns a child process and then exits the main process. This will not work with sops. Atom has a #!/bin/bash
atom -wAnd set EDITOR to that. |
autrilla
closed this
Oct 20, 2016
This comment has been minimized.
This comment has been minimized.
|
How about adding this information to the README ? |
This comment has been minimized.
This comment has been minimized.
|
Could you add a note for this to the readme? On Oct 20, 2016 3:28 PM, "Adrian Utrilla" notifications@github.com wrote:
|


mxxcon commentedOct 20, 2016
It appears that I can't use gui-based editors such as Atom or Sublime with sops.
My
.bash_profilecontainsexport EDITOR=/usr/local/bin/atomWhen I try to edit any sops-encrypted file I get something like:
A few sec later Atom opens up with that tmpq6K2_D.yaml file.
It is my understanding that this happens because gui editors open in a separate process outside of my terminal.
Regular terminal editors such vi/nano/mcedit work as expected.
How can I use gui editors with sops?