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 "$@"' }