Fix e command.
This commit is contained in:
parent
16a92a0f6a
commit
a3f6c52f10
@ -10,6 +10,7 @@
|
|||||||
# is_ssh && emacs="terminal_emacs"
|
# is_ssh && emacs="terminal_emacs"
|
||||||
|
|
||||||
alias emacs='emacsclient -t -n'
|
alias emacs='emacsclient -t -n'
|
||||||
|
alias e='emacsclient'
|
||||||
is_osx && alias emacs='reattach-to-user-namespace emacsclient -c -n'
|
is_osx && alias emacs='reattach-to-user-namespace emacsclient -c -n'
|
||||||
|
|
||||||
function kill_all_emacs {
|
function kill_all_emacs {
|
||||||
@ -20,10 +21,6 @@ function edb {
|
|||||||
\emacs --debug-init
|
\emacs --debug-init
|
||||||
}
|
}
|
||||||
|
|
||||||
function e {
|
|
||||||
[ -z "$*" ] && emacs || emacs_open -n "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
function cocoa_emacs {
|
function cocoa_emacs {
|
||||||
reattach-to-user-namespace zsh -c '_emacs -c -n "$@"'
|
reattach-to-user-namespace zsh -c '_emacs -c -n "$@"'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user