Fix e command.

This commit is contained in:
Ivan Malison 2015-06-29 10:50:49 -07:00
parent 16a92a0f6a
commit a3f6c52f10

View File

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