commit 8437c726fac150e194519ae5db60ffb84b650d77 parent cadfaf7731e37b0c35f91d34020759e5f771e5b5 Author: Hugo Soucy <hugo@soucy.cc> Date: Mon, 29 Nov 2021 11:45:23 -0500 Use emacsclient instead of emacs Diffstat:
M | .kshrc | | | 9 | ++------- |
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/.kshrc b/.kshrc @@ -1,10 +1,5 @@ -# use emacs if it's installed, mg otherwise -case "$(command -v emacs)" in - */emacs) EMACS=emacs ;; - *) EMACS=mg ;; -esac - -export EDITOR=$EMACS +export EDITOR="emacsclient -t" +export VISUAL="emacsclient -c -a emacs" export FCEDIT=$EDITOR export PAGER=less export LESS='-iMRS -x2'