I'm writing a script that runs git commit
. It requires /dev/stdout
to be clean for piping/cmd substitution.
I this case, $EDITOR
is set to nvim
.
$ git commit > /path/to/somewhere
hint: Waiting for your editor to close the file...
<I had to press Ctrl-C>
I recognize that an interactive session while piping is "bad", but I only plan to do this with git commit
.
Thank you in advance!!