emacs.sh updates.

This commit is contained in:
Ivan Malison 2015-06-21 15:13:59 -07:00
parent fc7dc64290
commit dd506e1a26

View File

@ -9,6 +9,9 @@
# alias terminal_emacs='_emacs -t'
# is_ssh && emacs="terminal_emacs"
alias emacs='emacsclient -tn'
is_osx && alias emacs='emacsclient -cn'
function kill_all_emacs {
emacs_pids | xargs kill -9
}
@ -113,6 +116,6 @@ function time_emacs {
# Make emacs the default editor.
export EDITOR="$HOME/.lib/editor.sh"
export ALTERNATE_EDITOR=""
export VISUAL="$EDITOR"
export GIT_EDITOR="$EDITOR"
export ALTERNATE_EDITOR=""