helm/config/emacs/aliases.zsh

7 lines
256 B
Bash
Raw Normal View History

2019-08-06 10:56:54 -07:00
#!/usr/bin/env zsh
2021-02-17 09:54:12 -08:00
e() { pgrep emacs && emacsclient -n "$@" || emacs -nw "$@" }
ediff() { emacs -nw --eval "(ediff-files \"$1\" \"$2\")"; }
eman() { emacs -nw --eval "(switch-to-buffer (man \"$1\"))"; }
ekill() { emacsclient --eval '(kill-emacs)'; }