zsh/.aliases/command-specific/emacsclient

11 lines
187 B
Plaintext
Raw Permalink Normal View History

2015-07-07 11:18:40 -04:00
## Emacs aliases
alias e="emacsclient"
alias en="e -n"
alias et="e -t"
alias ec="e -c"
alias ecn="ec -n"
2019-05-06 09:12:52 -04:00
function magit() {
en -e "(progn (cd \"$(realpath ${1-.})\") (magit-status))"
}