diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.go | 3 | ||||
| -rw-r--r-- | config/config_unix.go | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go index c63a0bc..839acbf 100644 --- a/config/config.go +++ b/config/config.go @@ -78,6 +78,9 @@ func EditDefaultConfig(e string) error { return err } c := exec.Command(editor, fn) + c.Stdout = os.Stdout + c.Stdin = os.Stdin + c.Stderr = os.Stderr return c.Run() } cmd := exec.Command(editor, configFilename) diff --git a/config/config_unix.go b/config/config_unix.go index 8f77235..8be1967 100644 --- a/config/config_unix.go +++ b/config/config_unix.go @@ -4,7 +4,6 @@ package config import ( "os" - "os/exec" "path/filepath" ) |
