zsh/.aliases/command-specific/emacsclient

11 lines
187 B
Plaintext

## Emacs aliases
alias e="emacsclient"
alias en="e -n"
alias et="e -t"
alias ec="e -c"
alias ecn="ec -n"
function magit() {
en -e "(progn (cd \"$(realpath ${1-.})\") (magit-status))"
}