We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed59da3 commit 5a6c476Copy full SHA for 5a6c476
src/cmd/cli/command/commands.go
@@ -514,7 +514,7 @@ var certGenerateCmd = &cobra.Command{
514
515
func afterGenerate(ctx context.Context, result setup.SetupResult) {
516
term.Info("Code generated successfully in folder", result.Folder)
517
- editor := pkg.Getenv("EDITOR", "code")
+ editor := pkg.Getenv("DEFANG_EDITOR", "code") // TODO: should we use EDITOR env var instead? But won't handle terminal editors like vim
518
cmdd := exec.Command(editor, result.Folder)
519
err := cmdd.Start()
520
if err != nil {
0 commit comments