From b29ba7d556bf62b0a4bfd9b52aa15fc25c76354a Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Fri, 14 Oct 2016 14:40:47 -0700 Subject: [PATCH] Idempotent way to launch emacs daemon --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index d861815..6cd6147 100644 --- a/.zshrc +++ b/.zshrc @@ -222,7 +222,7 @@ alias e="TERM=xterm-256color emacs -nw" alias et="TERM=xterm-256color emacsclient -t" #alias ec="emacsclient -c --eval '(set-background-color \"black\")'" alias ec="emacsclient -c" -alias ed="emacs --daemon" +alias ed="emacsclient --alternate-editor '' --eval '(x-display-list)'" alias ecx="emacsclient --eval '(make-frame-on-display \"$DISPLAY\")'" #alias s="TERM=xterm;ssh serenity.cat.pdx.edu" alias s="TERM=xterm ssh hunner@destiny.cat.pdx.edu"