diff --git a/cmd/project_open.go b/cmd/project_open.go index 49f3d70..a86198e 100644 --- a/cmd/project_open.go +++ b/cmd/project_open.go @@ -86,6 +86,8 @@ func openEditor(editor string, path string) { // Launch editor cmd := exec.CommandContext(rootCmd.Context(), editor, args...) cmd.Dir = filepath.Dir(path) + cmd.Stdout = os.Stdout + cmd.Stderr = os.Stderr if err := cmd.Run(); err != nil { plog.Error("Failed to open project", plog.Args( diff --git a/contrib/gpm_func_omz.zsh b/contrib/gpm_func_omz.zsh index 6f0e509..f71e025 100644 --- a/contrib/gpm_func_omz.zsh +++ b/contrib/gpm_func_omz.zsh @@ -27,4 +27,5 @@ pshow () { popen () { gitlab-project-manager project open $1 + reset 2>&1 > /dev/null }