我似乎无法得到sops
跟...共事Visual Studio Code
作为其编辑。vscode
已经在PATH
。然而,sops
在控制台上打印解密的内容,而不是打开编辑器。
c:\>code .
----^ this opens the Visual Studio Code editor
c:\>echo %EDITOR%
"code"
c:\>sops-3.1.0.exe --decrypt encrypted.txt
Decrypted content
我尝试过设置EDITOR
to vscode
的完整路径,同样的问题。
有谁用过吗vscode
with sops
或者知道如何在 Windows 中执行此操作?
弄清楚了!
我应该使用code --wait
as my EDITOR
Ref: https://github.com/mozilla/sops/issues/127 https://github.com/mozilla/sops/issues/127
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)