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 up
How to run gui editor? #127
It appears that I can't use gui-based editors such as Atom or Sublime with sops.
mxx@MacBook-Pro:[~]: sops myfile.yaml INFO: myfile.yaml doesn't exist, creating it. INFO: generating and storing data encryption key INFO: temp file created at /var/folders/b1/pwv5g6795fld3f0vt14kky_40000gp/T/tmpq6K2_D.yaml PANIC: myfile.yaml has not been modified, exit without writing
A few sec later Atom opens up with that tmpq6K2_D.yaml file.
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 -w
And set EDITOR to that.
Could you add a note for this to the readme?
On Oct 20, 2016 3:28 PM, "Adrian Utrilla" email@example.com wrote: