dotfiles/.bash_it/aliases/available/emacs.aliases.bash
2022-02-27 20:00:49 +01:00

17 lines
313 B
Bash

cite 'about-alias'
about-alias 'emacs editor'
case $OSTYPE in
linux*)
alias em='emacs'
alias en='emacs -nw'
alias e='emacsclient -n'
alias et='emacsclient -t'
alias ed='emacs --daemon'
alias E='SUDO_EDITOR=emacsclient sudo -e'
;;
darwin*)
alias em='open -a emacs'
;;
esac