forked from colonelpanic/dotfiles
reattach-to-user-namespace for emacs.
This commit is contained in:
parent
dd506e1a26
commit
9249943ea6
@ -1,3 +1,8 @@
|
||||
#!/usr/bin/env zsh
|
||||
if is_osx; then
|
||||
reattach-to-user-namespace emacsclient "$@"
|
||||
else
|
||||
emacsclient "$@"
|
||||
fi
|
||||
|
||||
return 0
|
||||
|
@ -9,8 +9,8 @@
|
||||
# alias terminal_emacs='_emacs -t'
|
||||
# is_ssh && emacs="terminal_emacs"
|
||||
|
||||
alias emacs='emacsclient -tn'
|
||||
is_osx && alias emacs='emacsclient -cn'
|
||||
alias emacs='emacsclient -t -n'
|
||||
is_osx && alias emacs='reattach-to-user-namespace emacsclient -c -n'
|
||||
|
||||
function kill_all_emacs {
|
||||
emacs_pids | xargs kill -9
|
||||
|
Loading…
Reference in New Issue
Block a user