fix(git): force git to open commits in terminal editor

When committing and using emacs as the editor it would always open a
new emacs window. This was taking focus away from the terminal and
losing flow when context switching out of the terminal and into a new
window.
This commit is contained in:
Ade Attwood 2021-04-16 19:59:30 +01:00
parent 4296160d7d
commit 7c34a6baf2

View file

@ -7,7 +7,7 @@
name = <%= scope.call_function('lookup', ["user_name"]) %>
[core]
editor = $ZSH/plugins/emacs/emacsclient.sh
editor = $ZSH/plugins/emacs/emacsclient.sh -nw
autocrlf = input
[rerere]