From: Amin Bandali Date: Thu, 6 Jun 2019 04:37:03 +0000 (-0400) Subject: bash: add e and se alias for editing files with emacs X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/d355f9979367744a458c39531f85e8e64cc13bbf?ds=inline bash: add e and se alias for editing files with emacs --- diff --git a/.bashrc b/.bashrc index 5928570..bc59480 100644 --- a/.bashrc +++ b/.bashrc @@ -41,6 +41,8 @@ alias mb="mbsync csclub; mbsync uwaterloo; mbsync amin" alias gm="getmail" alias m="mb; gm" alias best="youtube-dl -f best" +alias e="$EDITOR" +alias se="SUDO_EDITOR=\"emacsclient\" sudo -e" aur() { cd ~/usr/builds