Commit
Author: Kevin Schoon [me@kevinschoon.com]
Hash: 16ecfe774864651e8ebea879c6e99c9821ac84a7
Timestamp: Sat, 04 Jun 2022 00:21:01 +0000 (2 years ago)

+2 -0 +/-1 browse
fix editor command
1diff --git a/pkg/hierarchy/editor.go b/pkg/hierarchy/editor.go
2index 13a6ee2..9cd8ad3 100644
3--- a/pkg/hierarchy/editor.go
4+++ b/pkg/hierarchy/editor.go
5 @@ -36,6 +36,8 @@ func Edit(cfg config.Config, path string) error {
6 return err
7 }
8 cmd := exec.Command(editor, fp.Name())
9+ cmd.Stdout = os.Stdout
10+ cmd.Stderr = os.Stderr
11 err = cmd.Run()
12 if err != nil {
13 return err