Skip to content

Instantly share code, notes, and snippets.

@syl20bnr
Created January 1, 2013 04:39
Show Gist options
  • Save syl20bnr/4425208 to your computer and use it in GitHub Desktop.
Save syl20bnr/4425208 to your computer and use it in GitHub Desktop.
zsh aliases for emacs. It starts the emacs daemon if required.
export EDITOR='emacsclient -t -n -a ""'
alias ec='emacsclient -c -n -a ""'
alias et='emacsclient -t -a ""'
ecs() { emacsclient -c -n -a emacs "/sudo::$*" }
ets() { emacsclient -t -a emacs "/sudo::$*" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment