diff options
| author | Jeff Carr <[email protected]> | 2025-10-22 05:33:05 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-22 05:33:05 -0500 |
| commit | d077a5848cd88bcded8863d3344689d649ea158f (patch) | |
| tree | c96ebe1ea969d621e699e71de8a48ffd1848e968 /doInteract.go | |
| parent | 5e7f902d5fae4014b8eef8c4945cbc131c6f701e (diff) | |
spawn vim correctlyv0.0.31
Diffstat (limited to 'doInteract.go')
| -rw-r--r-- | doInteract.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doInteract.go b/doInteract.go index f99b3d9..53830a1 100644 --- a/doInteract.go +++ b/doInteract.go @@ -64,7 +64,7 @@ func doEditorOnce() (string, error) { } // Run the editor - cmd := exec.Command(editor, tmpPath) + cmd := exec.Command("bash", "-i", "-c", editor+" "+tmpPath) cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr |
