From e3a754e0e90618cc05fadc79e1fb0f9a08f40e7b Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 20 Jun 2020 03:23:57 +0000
Subject: [PATCH] Make working for emacs

---
 all-shells/.commonshell |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/all-shells/.commonshell b/all-shells/.commonshell
index 36f5d44..366587c 100644
--- a/all-shells/.commonshell
+++ b/all-shells/.commonshell
@@ -6,7 +6,8 @@
 alias less='less -r'
 alias stats="find . -type f -printf '%f\n' | sed -r -n 's/.+(\..*)$/\1/p' | sort | uniq -c"
 
-export EDITOR=/usr/bin/vim
+export EDITOR="/usr/bin/emacsclient -nw -a /usr/bin/vim"
+alias ec=$EDITOR
 
 #default wine prefix
 export WINEPREFIX=$HOME/.wine/Games/

--
Gitblit v1.9.3