From a3f6c52f10fbac0d0840abbdb636f86c313bc432 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 29 Jun 2015 10:50:49 -0700 Subject: [PATCH] Fix e command. --- dotfiles/lib/shellenv/emacs.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dotfiles/lib/shellenv/emacs.sh b/dotfiles/lib/shellenv/emacs.sh index a60e9a0b..da2f315a 100644 --- a/dotfiles/lib/shellenv/emacs.sh +++ b/dotfiles/lib/shellenv/emacs.sh @@ -10,6 +10,7 @@ # is_ssh && emacs="terminal_emacs" alias emacs='emacsclient -t -n' +alias e='emacsclient' is_osx && alias emacs='reattach-to-user-namespace emacsclient -c -n' function kill_all_emacs { @@ -20,10 +21,6 @@ function edb { \emacs --debug-init } -function e { - [ -z "$*" ] && emacs || emacs_open -n "$@" -} - function cocoa_emacs { reattach-to-user-namespace zsh -c '_emacs -c -n "$@"' }